I wanted to click a link in facebook group post which has href attribute as “#” but when we click on it that href attribute will automatically change to particular URL so I just wanted to click on link so that it will open in new tab. Sorry I don’t have any code to explain this scenario. Answer Since you
Tag: selenium
auto refresh page while element is not clickable (python)
Objective: Find an appointment Code: While the code works, I would like to extend it by making it do auto-refresh every 5 second interval until the element on 9 September 2022 is clickable. I am thinking of something like but the second part of the code does not work. An example of a clickable date is on Nov 4. Update:
How to iterate and fill a dataframe with Scrapped values with Selenium
I am trying to fill up a dataframe with the expected hourly irradiation for an specific location for the next 14 days. I am trying to do scrapping with Selenium from a website where those values are provided, but I do not know how to get the specific values and automate the overall process. This is what I´ve tried: The
How can I scrape an apple HTML page using python?
I am trying to scrape the h2 tag below from the apple page in the python 3.10.6 code further below. I can see the h2 tag on the page; but my python running on PyCharm 2022.1.4 is unable to scrape it. episode-shelf-header is a unique class in the html code on this page. I did search for a solution to
Clicked on element that has x-click with Python Selenium but it do not redirect
I am trying to scrape the url given below with python selenium. https://www.rtilinks.com/?5b5483ba2d=OUhWbXlXOGY4cEE0VEtsK1pWSU5CdEJob0hiR0xFNjN2M252ZXlOWnp0RC9yaFpvN3ZNeW9SazlONWJSTWpvNGNpR0FwWUZwQWduaXdFY202bkcrUHAybkVDc0hMMk9EWFdweitsS0xHa0U9 here is my code After running through this code I should be redirected to https://rareapk.com/finance/?n1p0ei2ng5yd3gz but It stuck at the same page. The element, I am clicking is given below. Element Image What is my code doing? First it go to this url Then click to I’M
Select value from dropdown and click on search
I want they select value for the dropdown from the Ville option and then click on search option for each value but the problem is that they do not select value from ville these is pag link https://www.barreaunantes.fr/annuaire/ enter image description here Answer Your element locator strategy selection isn’t in proper way. The following code is working as expectation. You
How to click on the login button using selenium?
I am trying to log in to “investors.com,” but to do that, I need to click on the “Sign In” button. Currently, I am using selenium to achieve this task. Sadly, I have tried everything, but nothing seems to work. I am not sure why that is the case. Maybe, the website composition is different. I am not sure. I
Why search retrieve no result? with selenium
I have been trying to scrape this site and sending in the search phrase cause error. I have searched StackOverflow and the error usually is resolved when you redefine the web element again which I did but still getting the same error. I do not want to directly go to the search link like https://www.couriermail.com.au/search-results?q=Anthony+Albanese instead I want to click
Selenium: Iterate through child elements with different class names
I want to iterate through child elements of parent . Access the child element, extract price information and move on to next child element. Here is my code Output: Concern/What I want help with: Price output should change in each iteration as element changes. But I am only getting same price as first element price Desired Output: HTML outer element
Incomplete scrapped data from shopee.co.id using BeautifulSoup and Selenium
I am trying to scrape shopee.co.id using beautifulsoup and selenium. There are 60 product in a single search results page. At the end of the code, I checked the extracted data using len() and it shows that I only extracted 42 of them. How should I fix the code to obtain all the search results? Here is the code that