Skip to content

Commit

Permalink
Add //rb:console target which starts interactive REPL
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Jul 8, 2021
1 parent 873728e commit b6851f8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions rb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -592,3 +592,23 @@ rb_binary(
"@bundle//:rubocop-rspec",
],
)

rb_binary(
name = "console",
args = [
"-rselenium-webdriver",
"-rselenium/devtools",
],
includes = ["rb/lib"],
main = "@bundle//:bin/pry",
deps = [
":bidi",
":chrome",
":common",
":devtools",
":edge",
":firefox",
":ie",
":safari",
],
)
1 change: 1 addition & 0 deletions rb/selenium-webdriver.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Gem::Specification.new do |s|

# childprocess requires ffi on windows but doesn't declare it in its dependencies
s.add_development_dependency 'ffi'
s.add_development_dependency 'pry', ['~> 0.14']
s.add_development_dependency 'rack', ['~> 2.0']
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec', ['~> 3.0']
Expand Down

0 comments on commit b6851f8

Please sign in to comment.