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

Use Appium.WebDriver instead of Selenium.WebDriver for tests. #28

Closed
wants to merge 1 commit into from

Conversation

grokys
Copy link
Contributor

@grokys grokys commented Apr 30, 2024

Note sure if this is desired or not, but this allows the Get Element Attribute test in #27 to work. Seems like Selenium.WebDriver tries to execute a script in order to read attributes?

This allows the `Get Element Attribute` test in FlaUI#27 to work. Seems like Selenium.WebDriver tries to execute a script in order to read attributes?

var title = driver.Title;

Assert.That(title, Is.EqualTo("FlaUI WPF Test App"));
}

[Test]
[Ignore("AppiumOptions prefixes timeouts with 'appium:' prefix. Not sure what to do here.")]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note sure what to do here? Maybe timeouts should have the prefix, maybe it shouldn't? I'm not familiar enough with this area to say.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to keep support for the WebDriver2 "timeouts" capability (see WebDriver2 capabilities here). The Appium standard does not describe an "appium:timeouts" capability, so prefixing it is not valid.

Can't we use the named properties ImplicitWaitTimeout, PageLoadTimeout, ScriptTimeout instead?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note those are supported when you update the Selenium.WebDriver dependency to 4.20.0...

@grokys grokys mentioned this pull request May 1, 2024
3 tasks
@grokys grokys marked this pull request as draft May 1, 2024 12:25
@grokys
Copy link
Contributor Author

grokys commented May 1, 2024

Converting this to a draft as it's not actually needed for #27. Feel free to close if you'd prefer.

@grokys
Copy link
Contributor Author

grokys commented May 2, 2024

Actually, going to close this for now. I've not run into anything else that would require it so far.

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

Successfully merging this pull request may close these issues.

2 participants