Skip to content

Conversation

@hiroksarker
Copy link
Contributor

@hiroksarker hiroksarker commented Dec 4, 2019

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

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

Description

Motivation and Context

Types of changes

  • Change to the site (I am attaching a screenshot showing the before and after)
  • 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
Member

@diemol diemol left a comment

Choose a reason for hiding this comment

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

I left some comments, thanks for this PR @hiroksarker!

@hiroksarker hiroksarker requested a review from diemol December 6, 2019 04:52
@hiroksarker hiroksarker requested a review from diemol December 6, 2019 15:35
@hiroksarker hiroksarker requested a review from diemol December 7, 2019 03:23
(async function helloSelenium() {
let driver = new Builder()
//Browser Window Size Set
.setChromeOptions(new chrome.Options().windowSize({ width, height }))
Copy link
Member

Choose a reason for hiding this comment

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

I am really sorry, perhaps I have not been clear 😢
The other examples are living through the idea of: suppose you wanted to run Chrome on Windows XP using Chrome version 67...
So, if we see the Java example, it is using ChromeOptions to set those values. It would be nice to see the JavaScript example do the same thing, to keep uniformity. We do not need to set a window size or headless option, it is to make all the examples in different languages do the same.
Does it make sense?

@hiroksarker hiroksarker requested a review from diemol December 7, 2019 11:29
Copy link
Member

@diemol diemol left a comment

Choose a reason for hiding this comment

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

Thank you @hiroksarker!

@diemol diemol merged commit d8cd240 into SeleniumHQ:master Dec 7, 2019
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