Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Avoid scroll at moment to click an element #3973

Answered by mdmintz
iLaster12 asked this question in Q&A
Discussion options

Hi, i'm trying to click an element inside a pop up that hides at moment the user scrolls down, i'm using the parameter "scroll=False" to avoid that behavior, but the driver keeps scrolling down and hiding the pop up, can you help me?
code line:
self.click('td[id="638974656000000000_33"]', scroll=False)

You must be logged in to vote

You could try self.find_element(selector).click(), which forces the regular Selenium click.
Or a JS click: self.js_click(selector, scroll=False).

Replies: 1 comment 1 reply

Comment options

You could try self.find_element(selector).click(), which forces the regular Selenium click.
Or a JS click: self.js_click(selector, scroll=False).

You must be logged in to vote
1 reply
Comment options

Thanks a lot

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /