Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Race condition with the link and button's .click method #4

Open
DinisCruz opened this issue Jul 22, 2014 · 0 comments
Open

Race condition with the link and button's .click method #4

DinisCruz opened this issue Jul 22, 2014 · 0 comments

Comments

@DinisCruz
Copy link
Contributor

At the moment they return the object from the page where the click occurred
for example https://github.com/o2platform/FluentSharp_Fork.WatiN/blob/96fd6067ee2cb2960e76d0231014b6ea25e69710/FluentSharp.WatiN/ExtensionMethods/WatiN_IE_ExtensionMethods_Link.cs#L54

The problem is that if that link triggers a page change/reload and it is used in a REPL editor (for example with return ie.link("Login").click() the object (i.e. link) that will be shown in the O2's REPL editor doesn't exist any more (since the page changed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant