腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
2
回答
使用
Selenium
进行图像分级
selenium
xpath是所以,我写了但是它给出了错误.. 有什么想法吗?
浏览 3
提问于2012-04-20
得票数 0
回答已采纳
1
回答
如何构造
css
_selector以使用
Selenium
和
Python
python
、
selenium
、
selenium-webdriver
、
css-selectors
、
webdriver
使用
selenium
python
中的
CSS
选择器
,我正在尝试自动登录网页。而不是使用:我想练习使用:所以我把它写成:userId.send_keys('blabla
浏览 0
提问于2020-01-20
得票数 0
2
回答
如何使用
python
、
selenium
和chromedriver从网站中提取该值?
python
、
python-3.x
、
selenium
、
selenium-chromedriver
我正在使用
python
和
selenium
,我已经尝试了许多代码,但没有一个对我有效,我感谢任何帮助。我试着这样做:from
selenium
.webdriver.chrome.options import Options data = driver.find_element_by_class_name('ng-binding')driver.quit()
浏览 33
提问于2020-06-03
得票数 0
回答已采纳
1
回答
Selenium
:启动程序时的错误方法(find_element问题)
selenium
、
methods
我刚刚开始在我的学校
Python
项目中使用
Selenium
库。from
selenium
import webdriver driver.get('http://www.mywebsite.com') list_elements = driver.find_elements_b
浏览 3
提问于2021-05-19
得票数 0
回答已采纳
2
回答
Python
Selenium
不能发送键(
找不到
输入)
python-3.x
、
selenium
、
element
、
sendkeys
我是
Python
selenium
的新手,今天我被一个
元素
困住了,我不知道为什么,但是我
找不到
元素
和sendkey。有谁能帮我解释一下,为什么我不能通过id / xpath /
css
选择器
找到它?下面是
元素
的屏幕截图:PS:我试过java_execute_script,但它不起作用,我仍然不知道如何很好地使用它。
浏览 2
提问于2020-04-05
得票数 0
2
回答
问题:通过对
selenium
使用
CSS
选择器
属性'style‘来获取
元素
python
、
xpath
、
selenium
、
css-selectors
我在使用
selenium
的'style‘属性访问
元素
时遇到了问题。问题是使用xpath
选择器
可以做到这一点: int(self.
selenium
.get_element_index("//div[contains(@class,'%s')][contains(@stylecontains(@style,'%s')]"%(pin_class_name,map_object_position[0],map_object_position[
浏览 1
提问于2011-06-05
得票数 2
回答已采纳
1
回答
正在从nasdaq下载csv -下载按钮上没有链接
python-3.x
、
selenium-webdriver
、
selenium-chromedriver
我正在尝试点击这里的“下载CSV”按钮:https://www.nasdaq.com/market-activity/stocks/screener 但是,我无法使用
Python
/
Selenium
(from
selenium
.webdriver.common.keys import KeysPATH") driver.fi
浏览 17
提问于2021-04-27
得票数 0
2
回答
带有“span:
selenium
.common.exceptions.InvalidSelectorException (‘string’)”的
python
、
css
、
selenium
、
exception
、
css-selectors
我正在firefox中开发
selenium
。我试图通过
css
选择器
查找
元素
。element = "span:contains('Control panel')"我的错误越来越少raise exception_class(message, screen, stacktrace)
selenium
.common.exceptions.InvalidSele
浏览 2
提问于2017-12-19
得票数 2
回答已采纳
1
回答
访问网页中的列表框时的NoSuchElementException
python
、
html
、
selenium
我正在使用使用
Python
的
selenium
。我正在尝试访问网页中的列表框,但收到以下错误。
selenium
.common.exceptions.NoSuchElementException: Message: Unable to locate element: {"method":"name
浏览 0
提问于2016-10-21
得票数 2
2
回答
使用
Python
Selenium
的Javascript登录页面
javascript
、
python
、
selenium
我正在尝试使用
Python
包登录到下面的页面来执行一些活动。我写了下面的,但每次我得到“班级
找不到
”。我需要访问用户名和密码才能使用send_keys()。如对此有任何反馈,我们将不胜感激。代码from
selenium
.webdriver.common.by import Byfrom
selenium</
浏览 3
提问于2020-05-14
得票数 1
回答已采纳
1
回答
不能在弹出窗口中单击pop按钮
python
、
selenium
- Doesn't Work错误: 回溯:消息:没有这样的
元素
:无法找到
元素
:{“方法”:“
css
选择器
”,“
选择器
”:“"C:\Users\ages\
Python
38\site-packages\
selenium
\webdriver\remote\webdriver.py",
python
_button_2第598行中,在find_element_
浏览 1
提问于2020-10-22
得票数 0
回答已采纳
1
回答
如何获取从lightbox等插件加载的
元素
的属性
java
、
selenium
、
lightbox
我看到当我点击这个链接时,它在body的顶部加载了一个包含所有
元素
的div。im.findElement(By.tagName("img")).getAttribute("src"));Exception in thread "main" org.openqa.
selenium
.TimeoutExceptionos.version: '10.8', java.version: '1.6.0_33' Driver info: driver.ver
浏览 2
提问于2012-07-29
得票数 1
回答已采纳
1
回答
CSS
选择器
工作在浏览器控制台中,而不是
Python
中。
python
、
selenium
、
css-selectors
、
selenium-chromedriver
我正在尝试使用使用
python
的
CSS
选择器
登录到服务。='Email'") ->3 login = driver.find_element_by_
css
_selector("data-gigya-placeholder='Email'") 4 5的
元素
(最近一次调用(self,
css
_selector): ~\miniconda3\envs\
selenium
_env\lib\site-pack
浏览 2
提问于2021-11-03
得票数 1
回答已采纳
1
回答
Selenium
: IE8
CSS
定位器
javascript
、
internet-explorer
、
internet-explorer-8
、
selenium-webdriver
我在IE7、8、9中使用
selenium
,出于某种原因,有些
CSS
3定位器在IE7和9中工作,但不使用8。or :eq, or nth-of-type定位器会产生一个WebDriverException,表示它
找不到
元素
。另外,上面的代码通过dev控制台在IE8上工作,它只是不能使用
selenium
(大概是因为
selenium
使用Sizzle作为
选择器
)。(我尝试过类似于ul.tabs:eq(1) > li:nth-child(%d)的东西,即在
选择器
浏览 1
提问于2012-06-12
得票数 2
回答已采纳
1
回答
使用
Python
单击
Selenium
2 webdriver中的
元素
python-2.7
、
selenium-webdriver
我看过
Selenium
文档,
找不到
单击
元素
的示例。我检查了一个名为attatchments的
元素
。每当我试图单击
元素
时,
Python
都会给出一个错误,通常如下所示: {“使用”:by,“value”:value}‘value’"C:\
Python
27\lib\site-packages\
selenium
-2.24.0-py2.7.egg\
selenium
\webdriver\remote\webdriver.py"
浏览 2
提问于2012-08-26
得票数 0
1
回答
单击
Selenium
IDE中的多个链接
html
、
selenium
、
xpath
、
selenium-ide
我是
selenium
ide的新手,我想让一些网站自动化。我想要像这样。
浏览 3
提问于2014-02-25
得票数 0
回答已采纳
1
回答
如何使用在浏览器的第二个窗口上单击A按钮
python
、
selenium
我正在从事一个项目,在这个项目中,具有
python
和
selenium
的代理进行购物,现在当我单击google plus按钮时,如图所示,google plus按钮工作正常,但是当我尝试用
selenium
单击第二个窗口中的帐户(daigram中的2个数字)时,它会给出以下错误,甚至我尝试使用不同的
选择器
:account=driver.find_element_by_class_name('w1I7fb')错误:
selenium
.common.
浏览 2
提问于2021-05-05
得票数 0
回答已采纳
2
回答
org.openqa.
selenium
.InvalidSelectorException:
选择器
无效:无法找到具有xpath表达式con_reader.getusermobile()的
元素
java
、
selenium
、
exception
、
xpath
当我在使用页面对象模型的基类中使用对象存储库时,
selenium
无法识别
元素
,它返回了无效的
选择器
异常,我发布了我执行的类importjava.util.concurrent.TimeUnit;import org.openqa.
selenium
.WebDriver;import org.openqa.
selenium
.chrome.ChromeDriver
浏览 0
提问于2017-10-03
得票数 0
1
回答
selenium
python
css
选择器
找不到
元素
python
、
python-3.x
、
selenium
、
selenium-webdriver
、
selenium-chromedriver
-32\lib\site-packages\
selenium
\webdriver\remote\webdriver.py", line 498, in find_element_by_
css
_selector\Local\Programs\
Python
\
Python
36-32\lib\site-packages\
selenium
\webdriver\remote\webdriver.py", line 832\
Python
36-32\lib\site-packages
浏览 3
提问于2017-08-24
得票数 1
回答已采纳
2
回答
Python
selenium
find_element_by_class_name.click不工作
python
、
python-3.x
、
selenium
、
selenium-webdriver
、
onclick
Attendance.Dashboard.WeeklyData.updateCheckOut(true)">按钮应该被点击,我得到了错误: 方法消息:没有这样的
元素
:
找不到
元素
:{“
selenium
.common.exceptions.NoSuchElementException:”:“
css
选择器
”,“
选择器
”:“.
浏览 0
提问于2021-07-07
得票数 0
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券