aRandomGuy Posted September 2 Share Posted September 2 (edited) Hello, i found these code in python that trigger auto translation on a website using prefs options = Options() prefs = { "translate_whitelists": {"fr":"en"}, "translate":{"enabled":"true"} } options.add_experimental_option("prefs", prefs) browser = webdriver.Chrome(chrome_options=options) i did add the same option into chromedriver, however it fail, can you edit my codeĀ here is my code _WD_CapabilitiesAdd('prefs', '{"translate_whitelists": {"jp":"en"}, "translate": {"enabled": "true"}}') thank you Edited September 2 by aRandomGuy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now