Skip to content

Selenium Htmlunit driver Problem getting elements on the right page (Vue.JS) #87

@danielkp1234

Description

@danielkp1234

So i was trying to switch from using the chrome driver to html unit because it should be faster.
i have javascript enabled and i am getting this error
Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function submit in object [object HTMLButtonElement]
I have tried some googling around but I found nothing this is the line where i define the htmlunit driver
HtmlUnitDriver driver = new HtmlUnitDriver(BrowserVersion.FIREFOX_68,true);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions