-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ScrollDown difficult #322
Comments
horseman
.open('http://www.google.com')
.type('input[name="q"]', 'VALERIM CENTER')
.keyboardEvent('keypress',16777221)
.wait( 5000 )
.screenshot('test.png')
.click('[data-reply_source="local-search-reviews-list"]')
.wait( 5000 )
.screenshot('test00.png')
.click("g-dropdown-button")
.evaluate(function(){
document.querySelector('g-dropdown-button').click();
})
.wait( 500 )
.screenshot('test0.png')
.click("g-menu-item:contains('Most recent')")
.wait( 5000 )
.screenshot('test1.png')
.click('.review-dialog-list')
// .mouseEvent('mousedown', 0, 10000)
// .evaluate(function(){
// return document.querySelector('.review-dialog-list');
// })
// .then( function( reviewsList ) {
// console.log('@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@')
// console.log( reviewsList )
// // reviewsList.style.height = '200px';
// console.log('@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@')
// } )
.html('.review-dialog-body')
.evaluate(function(){
return document.querySelector('.review-dialog-list').scrollTo(0, document.querySelector('.review-dialog-list').scrollHeight);
})
.wait( 2000 )
.screenshot('test2.png')
}); My tries until now... |
|
Did you make any progress on this? I was trying the same thing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey guys, how are you? First of all, congrats for your job, horseman is fucking awesome.
So, I'm trying to navigate at this Google modal without success.
Can someone helps me? I already tried mouseEvents, evaluate... but got no success...
Thanks!
The text was updated successfully, but these errors were encountered: