Yup its possible. Instead of a new instance, you can use the existing instance's sessionID to perform the test on the same instacne. Its done by using this:
The executor to use when sending commands to the browser.
Hope it helps!!
To find the executor and the session_id for the currently opened webpage follow the below steps:
1.open a driver
driver = webdriver.Firefox() #python
2.Extract to session_id and _url from driver object.
url = driver.command_executor._url
session_id = driver.session_id
Nope, it can't be done. It's one ...READ MORE
First Install Python based on the Operating ...READ MORE
we have inbuilt method Maximize().
driver.Manage().Wind ...READ MORE
Hello @Nishant, follow these steps to use ...READ MORE
The better way to handle this element ...READ MORE
enable trusted connection in internet explorer by ...READ MORE
To Allow or Block the notification, access using Selenium and you have to ...READ MORE
xpath are two types.
1) Absolute XPath:
/html/b ...READ MORE
There are a couple of options for ...READ MORE
It is indeed possible to get http ...READ MORE
Already have an account? Sign in.