A
A
agent_22032020-10-14 16:25:00
Python
agent_2203, 2020-10-14 16:25:00

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)

I tried to find these fields in about:config , but they were not there, as in principle, and useragent

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question