quymao2 Posted October 2 Posted October 2 Hi everybody, as title i want to update the current capabilities of a runnning webdriver session, is it possible ?. For example : at first i set to load images to be disabled, when running i want to update the state . This is my way but i dont think it's good _WD_CapabilitiesAdd('args', '--blink-settings','imagesEnabled=true') Local $sCapabilities = _WD_CapabilitiesGet() _WD_Startup() $sSession = _WD_CreateSession($sCapabilities) _WD_Navigate($sSession, "https://www.autoitscript.com/site/") _WD_DeleteSession($sSession) _WD_CapabilitiesAdd('args', '--blink-settings','imagesEnabled=False') $sCapabilities = _WD_CapabilitiesGet() $sSession = _WD_CreateSession($sCapabilities) _WD_Navigate($sSession, "https://www.autoitscript.com/site/")
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