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

Implemented a method to inject media to BS device which accepts BS media URL as parameter #633

Merged
merged 7 commits into from
Mar 7, 2024

Conversation

snehith07
Copy link
Contributor

  • Created an overloaded method injectMediaToDriver() in BrowserStackImageInjection.java, which injects media to BS device which accepts BS media URL as parameter
  • Added a method to the Driver class injectMediaUrlToBrowserstackDevice(), which calls the above method.
  • Added a method to the Driver class, isMobilePlatform(), which returns a boolean value after checking whether the current platform is mobile or not, to reduce the complexity of the above method.
  • Made this method public, thus can be used across the framework.

@anandbagmar anandbagmar merged commit 233ef00 into znsio:main Mar 7, 2024
2 of 7 checks passed
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.

3 participants