Move to element method is not working #2847
Replies: 10 comments 13 replies
-
Hey @akashbarla5, can you provide the Nightwatch config and the env you are using also verbose logs would help. |
Beta Was this translation helpful? Give feedback.
-
Environment Details: Windows 8.1 Please find the below configuration from the package.json file { Nightwatch.json { "webdriver" : { "test_settings" : { Sorry, I didn't get the verbose logs information. Please let me know if you need any further information |
Beta Was this translation helpful? Give feedback.
-
can you try adding the object shown below inside
|
Beta Was this translation helpful? Give feedback.
-
Ok will check and update |
Beta Was this translation helpful? Give feedback.
-
Updated the nightwatch.json file as suggested While executing the script it is throwing the below error |
Beta Was this translation helpful? Give feedback.
-
yo need to use "goog:chromeOptions": {
"w3c": false
} |
Beta Was this translation helpful? Give feedback.
-
After using double quotes also it is throwing the same error as above |
Beta Was this translation helpful? Give feedback.
-
Hey @akashbarla5, we need |
Beta Was this translation helpful? Give feedback.
-
After enabling the browserName: "chrome", it is throwing the same error |
Beta Was this translation helpful? Give feedback.
-
comma is missing after |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Hover functionality is not working. I am using the moveToElement method to hover on the dashboard tabs. This functionality is working fine till Friday and not working afterward.
Script
Using the below line to hover on the dashboard to view the available options after hovering on that dashboard.
.moveToElement('#navbarSupportedContent > ul.nav.navbar-nav.mr-auto.main_nav_bar.mobile-mr-10.pl-3.pl-md-0 > li:nth-child(2) > a',0,0)
Error
As hover is not working, options present under that dashboard is not visible so, unable to click on that option. It's throwing "element couldn't be located" error
I am blocked with the execution due to this method is not working.
Hoping to hear a response back from you. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions