I am trying to extract information from a Facebook page using Selenium. (I am writing in Java). The problem is that after entering the site, a pop-up window appears
And I do not know how to remove it. I tried using the command
driver.switchTo().alert().dismiss(); Or
driver.switchTo().alert().accept(); But does not respond. Help me please.
