Magizhnan
Magizhnan

Reputation: 1

Initiating chrome browser version from system and not from .cache in robotframework

The chrome version in the system is 131.0.6778.265 and I'm using the selenium version 4.27.1 (pip version). when i initiate the browser the selenium manager automatically downloads the chrome browser in .cache and invoking the Test version. How can i invoke the existing chrome browser? I have tried binary options in the argument of Open Browser and it doesn't work.

I want to invoke the existing browser in my system and NOT latest stable chrome version.

My code:

open browser   ${URL}   ${Browser}   options=add_argument("--start-maximized");add_argument("--disable-popup-blocking")

I tried the below cod,e and it doesn't work

#to make web manager offline

open browser   ${URL}   ${Browser}   options=option.binary_locationadd_argument("--start-maximized");add_argument("--disable-popup-blocking");add_argument("--offline")
open browser   ${URL}   ${Browser}   options=add_argument("--start-maximized");add_argument("--disable-popup-blocking")

i'm not sure where should i give SE_offline. Can anyone please help me?

Upvotes: 0

Views: 31

Answers (0)

Related Questions