Comments (1)
因为你写的定位是 唯一的,所以日志显示为:
Find element: id=kw. 搜索输入框
如果你的定位是不唯一的, 例如 tag="div"
, 那么就会提示
find 10 elements: tag=div
from poium.
Related Issues (20)
- execut_script() TypeError:Object of type Element is not json serializable HOT 1
- log 输出乱码[32mINFO ✅ Find element: id=kw [0m 怎么去掉? HOT 2
- poium 能和 behave 一起使用吗
- 【功能】CSSElement 提供获取输入框内容的方法 HOT 1
- 【功能】实现移动端口keyevent 操作 HOT 1
- 【升级】支持selenium 4.0 版本 HOT 1
- Element.get_attribute(name)不可用 HOT 2
- Element.value_of_css_property的返回值应是property_value而非property_name HOT 3
- [提问]如何使用Elements class来获取元素的个数
- 单个元素的定位,返回类型是poium Element,导致调selenium的drag_and_drop 报错move_to requires a WebElement HOT 1
- 用golang重写poium难吗 HOT 1
- 页面跳转后元素定位怎么处理? HOT 4
- 有方法可以判断element不存在吗? Element()初始化会报index out of range HOT 3
- 能否把__get_element()方法public出来,以便扩展和调用。
- open()报错 HOT 3
- 能否与DrissionPage 工具兼容?https://pypi.org/project/DrissionPage/ HOT 4
- Element.select_all 方法缺少grid的判断
- 返回的类型为什么会没统一
- 运行代码报错ModuleNotFoundError: No module named 'appium.webdriver.common.touch_action';版本不兼容 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poium.