You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.
I have just merged a pull request that adds a new property to the options: pageOptions. This property will be used as options for phantomJS' page object. You should now be able to set the user agent with: options.pageOptions.settings.userAgent = "Your User Agent". See http://phantomjs.org/api/webpage/property/settings.html for more information.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to pass the user agent into Phantomjs to emulate mobile pages. Any ideas on how or could this be added?
The text was updated successfully, but these errors were encountered: