Selenium scraping amazon relay - python

it is amazon relay
When i click to one of the cards this opens:[[enter image description here]
I need to take the messages in it
(https://i.stack.imgur.com/1Xx1K.png)]
It's working properly with selenium click but it is not clicking the other card and doing so with them too
Like
(https://i.stack.imgur.com/rk9Rt.png)
I have tried while and for loops

Related

Popup keeps loading after click using Python Selenium driver

I need to scrape a name and phone number that appears when clicking a button in a popup.
I was able to complete these steps:
Navigate through the site
Click on "Ver teléfono" option. This opens a popup
Fill the form
Click on "Enviar" option. This shows a loading gif and nothing else happens
Here is the used code: https://www.mycompiler.io/view/6ukTEftFwyh
The expected result (tested outside selenium) is that the popup shows the name and phone number after clicking the "Enviar" option

Selenium - how to download list of links and click on download button

Newbie here. Trying to run a list of links (over 1000s) to files from 1GB to 50GB pr file.
The final link is in a button you click on.
So need help to setup selenium to parse a list of links and click on the download button to download the file in the link. I guess there needs to be some kind of pausing or timer or else the browser will crash with downloads. Maybe theres a smart way i'm just aiming for the stars.
the xcode of the button is: //*[#id="menu-75-option-3"]/div
thanks.
tried to get selenium to find all links on but failing

Using python and chromedriver, how to click on a specific button of a pop-up window when I cant find his ID?

I have a code in python that uses selenium chromedriver to reach a webpage and collect some data but I want to solve a issue related with a pop-up window. For example, if you go to this webpage https://finance.yahoo.com/quote/BAC?p=BAC you will get two pop-up windows. One is for the acceptance of the collection of personal data (image below) and this I can handle well with the following code:
...
# Go to the website:
driver.get(main_url)
# Click accept button
driver.find_element(By.NAME, "agree").click()
...
The second one (image below) however I'm not being able to dismiss. I want the code to click on the "Maybe later" button but I cant find the button ID. Can someone help me?

how to click unlock on metamask wallet using selenium webdriver?

I want to test an app that needs to be connected to my Meta mask first. When I click on connect, the Meta mask page pops up, but I can't click on the word unlock and send the password, because when I hit the inspect element, it's not found.
I tried this by alert and did not work
how can I mange this extension using selenium in python
I appreciate every one who could answer this gold question thank you

Is there any other way to handle Chrome's Print Preview window when automating with Selenium?

I am trying to automate the printing of a document obtained from a website.
When I click the Print button on the web page, Chrome's print-preview appears and I have to choose from the drop-box('Save as PDF' or 'Print').
I am using Selenium with Python and didn't find any way to access that Print-Preview window.
Is there any other way that this can be done?
I don't have code to show you right now. It takes in details that are confidential for the company.

Categories