Hi, guys. My name is Arthur, I'm beginner in Python with Selenium, and beginner in english language too. hahahahhah. Well... I have a silly question. How to close a chrome print window? When I click on in a certain link, a new window opens and a pop-up print raise,
as shown in the attached image. I need close this pop-up, but I can't.
So far I've tried to use the way driver.switch_to_window("window pop up").
I believe that up to this point I am right. Afte I try to use driver.find_element(By.XPATH,"xpath of the button"), but this doesn't works.
Someone has a idea how solution this?
Thanks, guys.