DarkFingers1337 Posted January 20, 2015 Share Posted January 20, 2015 Hi, I want to open firefox with a profile like this: firefox.exe -no-remote -P myProfile How can I do this and wait for the window to open as I want to work with multiple firefox processes. Thanks, DarkFingers1337. Link to comment Share on other sites More sharing options...
Danp2 Posted January 20, 2015 Share Posted January 20, 2015 There's a UDF in the Examples section for interacting with FF. Check out the function _FFStart, which allows you to launch FF with a specific profile. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
TheDcoder Posted January 20, 2015 Share Posted January 20, 2015 Try this RunWait(@ComSpec & " /c " & "firefox.exe -no-remote -P myProfile") EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
DarkFingers1337 Posted January 20, 2015 Author Share Posted January 20, 2015 the _FFStart() option is gold. totally forgot to check it for parameters. TheDcoder, your solution did not work tho. Link to comment Share on other sites More sharing options...
DarkFingers1337 Posted January 20, 2015 Author Share Posted January 20, 2015 (edited) I had to put a "start" infront for it to work like this: RunWait(@ComSpec&' /c ' & "start firefox.exe -no-remote -P myProfile") Edited January 20, 2015 by DarkFingers1337 Link to comment Share on other sites More sharing options...
TheDcoder Posted January 21, 2015 Share Posted January 21, 2015 Hmmmmmm........ EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now