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

Add AppiumLibrary driver instance #11

Closed
wants to merge 1 commit into from

Conversation

kevinyosua
Copy link

AppiumLibrary doesn't use _current_browser().
it uses _current_application()


self.driver = s2l._current_browser()
else:
s2l = BuiltIn().get_library_instance(lib)
Copy link

@jesse019 jesse019 Oct 25, 2018

Choose a reason for hiding this comment

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

Can you update the lib argument to have default as lib='Selenium2Library' as default value.
This will handle empty case as well as when user passes Selenium2Library as argument from the test.

@jessezach jessezach self-requested a review October 25, 2018 10:55
@jessezach
Copy link
Owner

Fixed this in a separate PR

@jessezach jessezach closed this Oct 28, 2018
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.

None yet

3 participants