webdriver

Send a random string containing an emoji from a list using send_keys in Selenium

Send a random text containing an emoji from a list using send_keys in Selenium Question: I’m trying to send a message using send_keys() by picking a random item containing an emoji from a list: gm = [ ‘Good morning ‘, ‘Good morning ☀️’, ‘Good morning ⛅’, ‘Good morning ‘, ‘Good morning ‘, ‘Good morning ‘, …

Total answers: 2

Python Selenium not able to click on elements

Python Selenium not able to click on elements Question: I want to click on each product on aliexpress and do something with it. However, I kept running into an ElementClickInterceptedException Please verify that the code is correct before answering the question if you are using chat-GPT or any other AI to help with this problem. …

Total answers: 1

Python Selenium .click() Not Working but Server Response is 200

Python Selenium .click() Not Working but Server Response is 200 Question: I’m having a hard time coming up with a solution. I’m writing code in Python using the Selenium library to pull reports from a site we utilize. In order to access the reports, it has to click on a link to expand so the …

Total answers: 1

How to read text inside a div tag in selenium python?

How to read text inside a div tag in selenium python? Question: I’m trying to load data for a unique id set that loads from the database to a list. when eneter the id into a search textbox and clicking on the search button it will generate an HTML data table. But Some ids do …

Total answers: 1

can't select a checkbox in webdriver.Chrome python

can't select a checkbox in webdriver.Chrome python Question: I’m trying to create a script to show only pikachus on singapore poke map and the rest of the code is to go over the elements and get the coords for it and print the list. I’m trying for a long time many suggestions I’ve seen here …

Total answers: 2

python selenium search element by class name

python selenium search element by class name Question: I want to collect the detailed recommendation description paragraphs that a person received on his/her LinkedIn profile, such as this link: https://www.linkedin.com/in/teddunning/details/recommendations/ (This link can be viewed after logging in any LinkedIn account) Here is my best try: for index, row in df2.iterrows(): linkedin = row[‘LinkedIn Website’] …

Total answers: 1

click button in python selenium

click button in python selenium Question: html codemy code how can click buton in this html code im using selenium. I’m trying to writing a loop in my admin panel. Asked By: phantompain || Source Answers: first off that button does not have an id=’button’ without seeing the website you could try do something like: …

Total answers: 1

Selenium Python just gives one result

Selenium Python just gives one result Question: Selenium is only returning me first result. My code: from selenium.webdriver.common.by import By from selenium import webdriver import pandas as pd url = ‘https://www.tajeran-group.de/fahrzeuge/’ PATH = ‘C:\Users\czoca\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.6\chromedriver.exe’ driver = webdriver.Chrome(PATH) driver.get(url) driver.maximize_window()# For maximizing window driver.implicitly_wait(15)# gives an implicit wait for 20 seconds dealers = driver.find_elements(By.XPATH, …

Total answers: 1

SOLVED; Chromium Webdriver with "–no-sandbox" is opening a fully transparent/invisible Chrome window

SOLVED; Chromium Webdriver with "–no-sandbox" is opening a fully transparent/invisible Chrome window Question: The relevant code is as follows: ‘ # find the Chromium profile with website caches for the webdriver chrome_options = Options() profile_filepath = "user-data-dir=" + "/home/hephaestus/.config/chromium/Profile1" chrome_options.add_argument(str(profile_filepath)) # put chromium into –no-sandbox mode as a workaround for "DevToolsActivePort file doesn’t exist" chrome_options.add_argument("–no-sandbox") …

Total answers: 1

Selenium Webdriver Xpath id random

Selenium Webdriver Xpath id random Question: I have a problem, when I look for the id of an xpath it changes every time I enter the web how can i use selenium webdriver python browser.find_element(By.ID,) if the id changes every time I consult it first <span data-dojo-attach-point="containerNode,focusNode" class="tabLabel" role="tab" tabindex="0" id="icm_widget_SelectorTabContainer_0_tablist_dcf42e75-1d03-4acd-878c-722cbc8e74ec" name="icm_widget_SelectorTabContainer_0_tablist_dcf42e75-1d03-4acd-878c-722cbc8e74ec" aria-disabled="false" title="" style="user-select: …

Total answers: 2