-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
When you attempt to open firefox through watir using the webdriver::UserAgent, the headless option is currently an unknown data element for the gem.
[21] pry(main)> mobile = Webdriver::UserAgent.driver(browser: :firefox, headless: true, agent: :iphone)
ArgumentError: unknown option: {:headless=>true}
This is required in order for this portion of the gem to be functional. As firefox will not run without headless mode set to true. The below code showcases the error code returned when requested without headless.
[25] pry(main)> mobile = Webdriver::UserAgent.driver(browser: :firefox, agent: :iphone)
Selenium::WebDriver::Error::UnknownError: invalid argument: can't kill an exited process
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels