Skip to content

Navigation on submit #65

@sadiqkhoja

Description

@sadiqkhoja

Hi,

Thanks for this amazing work.

I want to know how to update page.Document when a form is submitted?

((HtmlInputElement)page.Document.GetElementsByName("email").First()).Value = configuration.GetSection("username").Value; ((HtmlInputElement)page.Document.GetElementsByName("pass").First()).Value = configuration.GetSection("password").Value; ((HtmlFormElement)page.Document.GetElementById("login_form")).Submit();

I was expecting after few seconds page.Document would have new content but that's not the case. Can you please advice

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