Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Browser chrome binary java sample #1460

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

Conversation

@santoshhawle
Copy link

@santoshhawle santoshhawle commented Aug 26, 2023

Thanks for contributing to the Selenium site and documentation!
A PR well described will help maintainers to review and merge it quickly

Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, and help reviewers by making them as simple and short as possible.

Description

Java sample code added in documentation & sample for chrome to Start browser in a specified location

Motivation and Context

  • There is no example of Java Start browser in a specified location in the documentation

Types of changes

  • Change to the site (I have double-checked the Netlify deployment, and my changes look good)
  • Code example added (and I also added the example to all translated languages)
  • Improved translation
  • Added new translation (and I also added a notice to each document missing translation)

Checklist

  • I have read the contributing document.
  • I have used hugo to render the site/docs locally and I am sure it works.

Copy link

netlify bot commented Aug 26, 2023
edited
Loading

👷 Deploy request for selenium-dev pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit bd229b0

Copy link

CLAassistant commented Aug 26, 2023
edited
Loading

CLA assistant check
All committers have signed the CLA.

Copy link
Member

The goal of putting these in the github repo is so that they will pass.

What we need to do is to get the binary installed somewhere (probably using DriverFinder class) and then reference that location in the code.

Copy link
Author

Hi @titusfortner I have added code to get the binary location at runtime and referenced that location in the code.

Copy link
Member

Hi @santoshhawle ,

  • Can you add similar changes in other translated pages with are other than in English?
  • can you work on resolving the conflicts too?

Thanks,
Sri

Copy link
Member

Thanks for this code, but I ended up adding it in all the languages a few weeks ago — https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L58-L65

Copy link
Member

Hi @santoshhawle ,

Thank you for looking into this and raising the PR!

Looks like the changes have landed with commit efe4c5a.

Thanks,
Sri

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /