webdriver-user-agent
webdriver-user-agent copied to clipboard
A helper gem to emulate populate device user agents and resolutions when using webdriver
No fault of the gem, but unfortunately this script will run to the end in Safari 14.0.3 on Big Sur: ```ruby `defaults write com.apple.Safari CustomUserAgent \"\\\"Mozilla/5.0 (iPhone; CPU iPhone OS...
``` 2021-05-14 12:08:45.561 defaults[64685:3874397] Domain (com.apple.SafariTechnologyPreview) not found. Defaults have not been changed. ```
``` 2021-05-14 12:07:41 WARN Selenium [DEPRECATION] Selenium::WebDriver::Safari#driver_path= is deprecated. Use Selenium::WebDriver::Safari::Service#driver_path= instead. ```
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,...
`WebDriver::UserAgent.driver` currently only supports `:chrome`, `:firefox` and `:safari` as valid `browser` options but regression tests are majorly executed on remote browsers on grid. So, adding support for remote browser will...