Skip to content
Advertisement

Tag: webdriverwait

Why selenium dont find tag and class

I recently started using selenium and I can’t solve one problem. When I use find_element_by_tag(class)_name or _css_selector raise error: But the element I’m looking for exists. For example: Output: But if I want to find “navbar-brand” class, I can do it. What’s the problem? And if I use find_elements, return empty list. P.S If somebody can advise some useful material

Unable to locate text from web page using Selenium

I am trying to scrape amazon reviews for a certain product, but I am unable to locate the text for the ratings using selenium. But the same thing is easily scraped using soup. Link to page: https://www.amazon.in/BenQ-inch-Bezel-Monitor-Built/product-reviews/B073NTCT4R/ref=cm_cr_arp_d_paging_btm_next_2?ie=UTF8&reviewerType=all_reviews&pageNumber=39 Here is my code using Soup: ##Output 4.3 5.0 1.0 5.0 2.0 4.0 1.0 5.0 5.0 5.0 5.0 5.0 5.0 Here is my

How to send AppleID to the Sign in field using Selenium and Python

Why is this incorrect: Web page: https://idmsa.apple.com/IDMSWebAuth/signin?appIdKey=a01459d797984726ee0914a7097e53fad42b70e1f08d09294d14523a1d4f61e1&rv=2&path= Steps followed: Inspect, element selector, click on Apple ID field box shows: My code: Error: I’ve even put sleep for 100 sec just in case it was erroring because of it was taking a while to load. Answer Pat yourself on the back as there are a lot of positive take away, as

Advertisement