0

running on windows 11 via git bash shell in visual studio code using:

    "@wdio/cli": "^9.7.1",
    "@wdio/devtools-service": "^8.41.0",
    "@wdio/jasmine-framework": "^9.7.1",
    "@wdio/junit-reporter": "^9.6.3",
    "@wdio/local-runner": "^9.7.1",
    "@wdio/spec-reporter": "^9.6.3",
    "@wdio/types": "^9.6.3",

would you not expect the element, an input of type checkbox, to be clickable after waitForClickable returns?

    await titleTabs[index].click();

    titleTabs[index].waitForClickable();

    const isClickable = await titleTabs[index].isClickable();

    await this.commonLogging.log(`is clickable: ${isClickable}`);

I keep getting:

is clickable: false

also, the reason I started messing around with this is that isSelected was returning false when the checkbox was not selected as seen when running the browser without headless mode.

much appreciated

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.