xlsclients shows no difference in the "Name" - regardless whether I start it manually or via selenium:
➜ xlsclients -l | grep -C4 -i firefox
Window 0x2e00001:
Machine: development.vagrant
Name: Firefox
Icon Name: firefox
Command: firefox
Instance/Class: firefox/Firefox
the script would be:
if (get_application_name()=="Firefox") then
set_window_workspace(4);
end