I.click() fails on elements out of view
See original GitHub issueWhat are you trying to achieve?
I am trying to click an element that it out of view (scrolling is needed to see the element). With 0.6.3 , it was working like that - it was scrolling automatically when needed.
What do you get instead?
unknown error: Element is not clickable at point (a,b)
Details
- CodeceptJS version: 1.0.3
- NodeJS Version: 6.11.0
- Operating System: Win10x64
- Protractor || WebDriverIO || Nightmare version (if related)
- Configuration file:
{
"output": "./output",
"helpers": {
"WebDriverIO": {
"url": "http://localhost",
"browser": "chrome",
"windowSize": "",
"timeouts": {
"script": 60000,
"page load": 10000,
"implicit": 50
}
},
"User": {
"require": "./user_helper.js"
}
},
"include": {
"I": "./steps_file.js",
"Activities": "./pages/Activities.js"
},
"mocha": {},
"bootstrap": false,
"teardown": null,
"hooks": [],
"tests": "./*_test.js",
"timeout": 10000,
"name": "Codeceptjs Tests"
}
Do I have to scroll now every time to click an element out of view?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7
Top Results From Across the Web
I.click() fails on elements out of view · Issue #745 · codeceptjs ...
I am trying to click an element that it out of view (scrolling is needed to see the element). With 0.6.3 , it...
Read more >Element not visible error (not able to click an element)
1 Answer 1 · make sure the element you want to click is actually visible. · wait for the visibility of the element:...
Read more >Cannot click WebElement that is outside visible area of ...
I can interact with the element while it's off screen and get the value of isSelected() for example but cannot click it. To...
Read more >Interacting with Elements - Cypress Documentation
We do not scroll elements into view on regular DOM queries like cy.get() or .find() . The reason we scroll an element into...
Read more >Fight The Element Detached From DOM Error Using jQuery ...
To solve this, we can use jQuery " click() " method instead of cy. click() command. The jQuery method does not have the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am having problems with Chrome, I did try with Firefox and is working correctly
Closing ticket due to inactivity. Before reopening please try using the latest version which is v1.1.5 (at the time of writing), and check if the issue still exists.