Skip to content

Unable to click submit button. DispInvoke: execScript error. #10

@Esinko

Description

@Esinko

I'm trying to click a submit button in a form, but I fails to click the element and gives the following error codes:
errno: -2147352567 code: -2147024891
Here is my code:
page.type("input[name=login]", name) page.type("input[name=password]", password) setTimeout(async function(){ page.click("input[type=submit]") }, 3000)
The error message seems to also say that some permission was denied or usage blocked. It's in Finnish so It would be no use to copy it here but that is the rough translation.

The console log also includes this warning:
(function(selector) { var BCR = document.querySelector(selector).getBoundingClientRect(); return { left: BCR.left, right: BCR.right, top: BCR.top, bottom: BCR.bottom, width: BCR.width, height: BCR.height }; })
The webserver I connect to is in the local network and it's using https. It opens fine, the text gets written in the form fields, but the submition fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions