driver close tab python selenium code example
Example: close tab selenium python
There's nothing easier and clearer than just running JavaScript.
Open new tab: driver.execute_script("window.open('');")
There's nothing easier and clearer than just running JavaScript.
Open new tab: driver.execute_script("window.open('');")