Hello Manish, when I tried the swith_to_window, I got this error: "attributeerror: 'webdriver' object has no attribute 'switch_to_window'". Further checking, it was mentioned that switch_to_window was deprecated in Selenium v2.41. The solution was to use 'switch_to.' (with the period) instead of 'switch_to_'. Great job by the way with these videos. SO easy to understand. And love the assignment at end. :D
Hello! Here, Wagner, from Brazil! First of all, thank you for all the classes given for free! Simply fantastic! Would you please help me on this: I work with Sales Force. When I click in a button "reports", for exemple, instead of opening the URL in a new window, it opens under the same window. Can you show how to switch to the last "window" (not a window exactly but a new URL or something like that) just opened? Maybe there is a little trick to do it for which I could not find out yet. Again, thank you very much for the classes! Bye.
One of the best Selenium Python series. Thank you so much Manish for creating it and helping everyone with it.
Thank you very much! I am glad my work is helpful. @SelectorsHub is amazing as well and I use it extensively.
Hello Manish, when I tried the swith_to_window, I got this error: "attributeerror: 'webdriver' object has no attribute 'switch_to_window'". Further checking, it was mentioned that switch_to_window was deprecated in Selenium v2.41. The solution was to use 'switch_to.' (with the period) instead of 'switch_to_'.
Great job by the way with these videos. SO easy to understand. And love the assignment at end. :D
Thank you!
Hello! Here, Wagner, from Brazil! First of all, thank you for all the classes given for free! Simply fantastic! Would you please help me on this: I work with Sales Force. When I click in a button "reports", for exemple, instead of opening the URL in a new window, it opens under the same window. Can you show how to switch to the last "window" (not a window exactly but a new URL or something like that) just opened? Maybe there is a little trick to do it for which I could not find out yet. Again, thank you very much for the classes! Bye.
Awesome lesson
Glad you liked it. Keep watching and sharing.
Great videos Sir. Thank you. Do you take mock interviews now?
Thankyou sir
Nice
Can you please share solution of the assignment
I have a question, If we have 4 to 5 windows open and need to switch to particular window, say from 5th to 3rd window. How do we do that
if handle != parent_handle:
driver.switch_to.window(all_handles[3])
genius
How to use chrome shortcut keys in python selenium
Someone please ans.. How to handle More than 2 tabs opened?? This method does not work in this case... Kindly help
if handle != parent_handle:
driver.switch_to.window(all_handles[3])
How to close the window and close other windows