Skip to content

Browser doesn't perform Arrow commands through browser.keys() method #4101

@oleksandr-maliarenko

Description

@oleksandr-maliarenko

[//]: # NOTE: This repository only maintains packages that are listed in the Readme. Please make sure that your issue is directly caused by one of these packages and if not file an issue in the correct 3rd party package repository.

Environment (please complete the following information):

  • WebdriverIO version: 5.9.6
  • Mode: Standalone
  • If WDIO Testrunner, running sync/async: sync
  • Node.js version: 8.16.0
  • NPM version: 6.9.0
  • Browser name and version: Chrome, 74
  • Platform name and version: MacOS 10.14.5
  • Additional wdio packages used (if applicable): ["@wdio/cli": "^5.8.3",
    "@wdio/local-runner",
    "@wdio/mocha-framework",
    "@wdio/selenium-standalone-service",
    "@wdio/spec-reporter",
    "@wdio/sync"]

Describe the bug
browser.keys('Down arrow') ('\uE015', 'ArrowDown') doesn't perform press Arrow button action in browser.

To Reproduce
Steps to reproduce the behavior:
Navigate to the page with a dropdown list with selectable options.
Click that dropdown to expand it.
User ArrowDown to move through the options of dropdown.

Actual result: Nothing happened. Option focus is not changed on ArrowDown action.

Expected behavior
I should be able to move through dropdown options using Arrows.

Log
gist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions