Answer the question
In order to leave comments, you need to log in
How to set following firefox profile fields in selenium exactly like useragent?
How to set the following FireFox profile parameters: os_id, navigator_id, platform, oscpu, build_version, build_id, app_version , app_name, app_code_name, product, product_sub, vendor, vendor_sub
,
user_agent I did not find. Useragent I replace like this
profile = webdriver.FirefoxProfile()
profile.set_preference("general.useragent.override", "value")
profile.update_preferences()
driver = webdriver.Firefox(profile)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question