You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -53,12 +53,12 @@ This article is out of date, but it includes more detailed descriptions and scre
53
53
<summary>Click to see Current Windows Setup Requirements</summary>
54
54
55
55
#### Option 1: Automatic Installation from Scratch
56
-
This script will ensure a complete ready to execute developer environment.
57
-
(nothing is installed or set that is already present unless otherwise prompted)
56
+
This script will ensure a complete ready to execute developer environment.
57
+
(nothing is installed or set that is already present unless otherwise prompted)
58
58
59
59
1. Open Powershell as an Administrator
60
60
2. Execute: `Set-ExecutionPolicy Bypass -Scope Process -Force` to allow running the script in the process
61
-
3. Navigate to the directory you want to clone Selenium in, or the parent directory of an already cloned Selenium repo
61
+
3. Navigate to the directory you want to clone Selenium in, or the parent directory of an already cloned Selenium repo
62
62
4. Download and execute this script in the powershell terminal: [scripts/dev-environment-setup.ps1]`
63
63
64
64
#### Option 2: Manual Installation
@@ -110,7 +110,7 @@ for building and testing Selenium using the Dockerfile in the
110
110
111
111
## Building
112
112
113
-
Selenium is built using a common build tool called [Bazel](https://bazel.build/), to
113
+
Selenium is built using a common build tool called [Bazel](https://bazel.build/), to
114
114
allow us to easily manage dependency downloads, generate required binaries, build and release packages, and execute tests;
115
115
all in a fast, efficient manner. For a more detailed discussion, read Simon Stewart's article on [Building Selenium](https://www.selenium.dev/blog/2023/building-selenium/)
116
116
@@ -119,12 +119,12 @@ Often we wrap Bazel commands with our custom [Rake](http://rake.rubyforge.org/)
119
119
The common Bazel commands are:
120
120
* `bazel build` — evaluates dependencies, compiles source files and generates output files for the specified target.
121
121
It's used to create executable binaries, libraries, or other artifacts.
122
-
* `bazel run` — builds the target and then executes it.
122
+
* `bazel run` — builds the target and then executes it.
123
123
It's typically used for targets that produce executable binaries.
124
124
* `bazel test` — builds and runs the target in a context with additional testing functionality
125
125
* `bazel query` — identifies available targets for the provided path.
126
126
127
-
Each module that can be built is defined in a `BUILD.bazel` file. To execute the module you refer to it starting with a
127
+
Each module that can be built is defined in a `BUILD.bazel` file. To execute the module you refer to it starting with a
128
128
`//`, then include the relative path to the file that defines it, then `:`, then the name of the target.
129
129
For example, the target to build the Grid is named `executable-grid` and it is
130
130
defined in the `'selenium/java/src/org/openqa/selenium/grid/BAZEL.build'` file.
@@ -164,7 +164,7 @@ view file from the [scripts](scripts) directory. `ij.bazelproject` for Mac/Linux
164
164
165
165
#### Linting
166
166
We also use Google Java Format for linting, so using the Google Java Formatter Plugin is useful;
167
-
there are a few steps to get it working, so read their [configuration documentation](https://github.com/google/google-java-format/blob/master/README.md#intellij-jre-config).
167
+
there are a few steps to get it working, so read their [configuration documentation](https://github.com/google/google-java-format/blob/master/README.md#intellij-jre-config).
168
168
There is also an auto-formatting script that can be run: `./scripts/format.sh`
169
169
170
170
#### Local Installation
@@ -208,7 +208,7 @@ If you want to debug code, you can do it via [`debug`](https://github.com/ruby/d
208
208
bazel-selenium/external/bundle/bin/rdbg -A
209
209
```
210
210
211
-
If you want to use [RubyMine](https://www.jetbrains.com/ruby/) for development,
211
+
If you want to use [RubyMine](https://www.jetbrains.com/ruby/) for development,
212
212
you can configure it use Bazel artifacts:
213
213
214
214
1. Open `rb/` as a main project directory.
@@ -451,9 +451,9 @@ API documentation can be found here:
0 commit comments