close tab selenium python 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('');")