webdriver tag

25 questions


1 answers
100 views
0
Can I use css locator to return text as a partial match?

ex)<a class=sample id=sample_id href=../>sample text</a>You can use either css or xpath to retrieve elements by specifying xpath, as shown below.exist?(xpath:'//a[@class=sample]')exist?(cs...

2 years ago

1 answers
91 views
0
Unable to import webdriver with selenium

If you run from selenium import webdriver after installing selenium, you will see the following error:Traceback (most recent call last): File <stdin>, line 1, in <module> File/opt/anaconda...


1 answers
84 views
0
I don't know how to get html elements for pages with different contents in the same url.

PMDA site has the same URL for search confirmation as search form, but I would like to analyze html for search confirmation.The code below cannot analyze the search confirmation html and detects the s...


2 answers
159 views
0
Page transitions in selenium webdriver

After logging in using WebDriver and logging in at the login screen, I would like to transition to another page on that browser page, but I am troubled that it does not.The following sourceslogin func...


2 answers
161 views
0
To generate a tap (touch) event on the Selenium ChromeDriver

Tap event for specific elements in ChromeDrivertouchstarttouchendHow do I code to trigger the?


1 answers
158 views
0
I want to use Selenium to start Firefox.

symptomsWhen I run the Python code below in the Jupiter Notebook that I opened in VSCode, an error appears and Firefox cannot start. from selenium import geckodriverImportError Traceback (most recent ...


1 answers
94 views
0
About running cron

I would like to use cron to run Selenium WebDriver on time, but I would like to know if cron can be run under the following circumstances.US>Status


1 answers
154 views
0
Understanding the Separation of Browser Display and Headerless Mode Behavior

Background: I'm a beginner at seleniumI'm using selenium to get information on a site.Even though the information was retrieved successfully when the browser was displayed, the following error occurre...


1 answers
81 views
0
Click may not work when using the electron app from selenium

Overview·I tried to operate the electron app from selenium, but the click operation does not work.·There are cases where the click operation is different from the specified location.·If you use the el...


1 answers
115 views
0
When you launch Chrome in Python, you will see "attribute error partially initialized module 'selenium.webdriver 'has no attribute 'chrome'".

Until now, it was able to boot, but it stopped booting a couple of days ago, and it said attribute error partially initialized module' selenium.webdriver'has no attribute'chrome'.The folder name is Ah...

« - 2 - »

© 2024 OneMinuteCode. All rights reserved.