Skip to content

I.click() fails on elements out of view #745

@ssimeonoff

Description

@ssimeonoff

What 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions