driver.js icon indicating copy to clipboard operation
driver.js copied to clipboard

Issue on focus for the highlight element

Open rcogal opened this issue 4 years ago • 2 comments

image

Div container has scroll and when trying to start the driver of defined steps, it redirects to correct position but when scrolling the div container, the focus is not correct because the highlight container is moving instead of fixed position

rcogal avatar Feb 05 '20 04:02 rcogal

Same on this one image

it's because the scrollbar is not in the body but in the div itself

rcogal avatar Feb 05 '20 04:02 rcogal

This would be a useful feature! Could be achieved by adding a focus: '<css_selector>' in the step definition. Additionally, focus: null could be used to remove focus.

tomaszn avatar Mar 31 '20 22:03 tomaszn

We just released v1.0 of driver.js which has been rewritten from the ground up. This issue should no longer exist. Please have a look at the docs and do let me know if you face any issues.

kamranahmedse avatar Jul 05 '23 16:07 kamranahmedse