chenglou / chenglou/node-huxley

Webdriver Usage

Open
#57 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
358
Forks
24
PR merge metrics
No merged PRs in 30d

Description

When I was reading your code, I saw that you're barely using any typical webdriver methods (like `sendKeys`, `click`). You seem to prefer to execute scripts directly. Is this intended and on a special purpose? Or just your preferred style?

I thought that the webdriver executes the given commands natively in the browser, which means that it actually works exactly like if the user interacted directly with the browser. Imho this is more accurate since JavaScript emulation is not exactly the same like user interaction (concerning dom events for instance). Or am I wrong and the Webdriver is just executing JavaScripts as well?

However, it seems like the Webdriver isn't supporting all necessary interactions like scrolling with the mouse wheel. I met this problem because I need to test mouse wheel scrolling on a specific element (which neither huxley nor the webdriver supports).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the project's WebDriver interaction paths and its use of direct script execution, including the sendKeys and click examples mentioned in the issue. Reproduce the mouse-wheel scrolling case and clarify whether the intended work is native interaction support, element scrolling, or only an explanation of the current behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.