Comments (10)
Please add a valid Rod Version: v0.0.0
to your issue. Current version is v0.114.5
generated by check-issue
from rod.
page.Mouse.MustScroll(0, 10000)
from rod.
page.Mouse.MustScroll(0, 10000)
本来直接能获取到前20条div的,想着使用该方法滚动的方式加载新的div标签出来后获取数据,但是还是拿不到滚动后加载新标签的数据, 你遇到该问题吗?
from rod.
没有,这一般都是因为你没有反向工程页面的加载机制导致的,每个网站都不同,我觉得这不是 rod 的问题,除非你能给出最小复现代码,我再 reopen 这个 issue
from rod.
没有,这一般都是因为你没有反向工程页面的加载机制导致的,每个网站都不同,我觉得这不是 rod 的问题,除非你能给出最小复现代码,我再 reopen 这个 issue
这是本地测试代码,麻烦你看一下谢谢了
test-demo.md
from rod.
你这个没有 scroll, scroll 完了也没有给页面加载的时间
from rod.
你这个没有 scroll, scroll 完了也没有给页面加载的时间
这是没加的,加过 比如 page.Mouse.MustScroll(0, 10000) 效果和没加是一样的
from rod.
你这个没有 scroll, scroll 完了也没有给页面加载的时间
这是没加的,加过 比如 page.Mouse.MustScroll(0, 10000) 效果和没加是一样的
假设我现在这样设置结果还是一样
page := rod.New().ControlURL(url).MustConnect().MustPage("https://www.binance.com/zh-CN/feed/profile/binance_news")
page.MustWaitLoad()
page.Mouse.MustScroll(0, 10000)
page.MustWaitLoad()
运行结果只能获取20条div 标签 ,并没有增加
from rod.
看看文档,你这个等待用法不对
from rod.
好的, 感谢了
from rod.
Related Issues (20)
- How run multiple instances of chrome and have one manager go rod which handle this instances HOT 2
- ElementX stuck if you specify a non-existent element HOT 2
- Repeat login HOT 2
- Leakless feature problems... HOT 1
- 当浏览器关闭时,chrome_crashpad_handler和Chromium Helper两个进程没有被关闭。 HOT 3
- Is it possible to improve Screenshot's fullPage implementation? HOT 1
- Why doesn't it remember the window size now? HOT 11
- How to cancel the timeout for Elements (not just one)? HOT 1
- Intercept DevTools disconnection HOT 3
- How to ignore cert errors when HijackRequests is used? HOT 3
- Proxy auth dialog handler is not working in another tab HOT 5
- Is there a way to change or get download directory of browser? HOT 8
- page.Elements result have cache? HOT 1
- navigation failed: net::ERR_INVALID_AUTH_CREDENTIALS HOT 11
- chromium can't login gmail account HOT 12
- NewUserMode最多启动2个浏览器,在尝试启动2个以上浏览器后卡住 HOT 11
- Alert Trojan Virus HOT 2
- After setting the default system device, the viewport display height and width are reversed. HOT 2
- hijack无法加载Other类型请求 HOT 7
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 rod.