Skip to content

Commit 2bde0b7

Browse files
authored
Merge pull request #1331 from seleniumbase/add-option-to-add-edgedriver-to-path
Add install option to add "msedgedriver" to "/usr/local/bin"
2 parents d5dc858 + f9fe3b2 commit 2bde0b7

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.io/cdn/img/super_logo_i.png" alt="SeleniumBase" title="SeleniumBase" width="300" /></a></p>
99
<!-- View on GitHub -->
1010

11-
<p align="center"><div align="center">Fast, easy, and reliable Web/UI testing with <b>Python</b>. ✅</div></p>
11+
<p align="center"><div align="center">Fast, easy, and reliable Web/UI testing with Python. ✅</div></p>
1212

1313
<p align="center">
1414
<a href="https://github.com/seleniumbase/SeleniumBase/releases">

examples/test_hack_search.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,10 @@ def test_hack_search(self):
1616
self.sleep(0.5)
1717
self.js_click('[value="Bing Search"]')
1818
self.highlight("h1.b_logo")
19-
help_docs_install_link = 'a[href*="seleniumbase.io/help_docs/install"]'
20-
if self.is_element_visible(help_docs_install_link):
21-
self.highlight_click(help_docs_install_link)
22-
self.assert_text("Install SeleniumBase", "h1")
23-
self.click_link("GitHub branch")
24-
self.highlight_click('a[href*="/seleniumbase/SeleniumBase"]')
25-
self.assert_element('[href="/seleniumbase/SeleniumBase"]')
26-
self.assert_true("seleniumbase/SeleniumBase" in self.get_current_url())
19+
self.highlight_click('[href*="github.com/seleniumbase/SeleniumBase"]')
20+
self.highlight_click('[href="/seleniumbase/SeleniumBase"]')
2721
self.highlight_click('a[title="examples"]')
2822
self.assert_text("examples", "strong.final-path")
29-
self.highlight_click('[title="test_hack_search.py"]')
23+
self.highlight_click('a[title="test_hack_search.py"]')
3024
self.assert_text("test_hack_search.py", "strong.final-path")
25+
self.highlight("strong.final-path")

help_docs/ReadMe.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<a href="https://seleniumbase.io/help_docs/features_list/">🎯 Features</a> |
77
<a href="https://seleniumbase.io/help_docs/customizing_test_runs/">🎛️ Options</a>
88
<br />
9-
<a href="https://seleniumbase.io/examples/ReadMe/"> Examples</a> |
9+
<a href="https://seleniumbase.io/examples/ReadMe/">📝 Examples</a> |
1010
<a href="https://seleniumbase.io/help_docs/mobile_testing/">📱 Mobile</a>
1111
<br />
12-
<a href="https://seleniumbase.io/help_docs/syntax_formats/">🔠 Syntax Formats</a> |
13-
<a href="https://seleniumbase.io/integrations/github/workflows/ReadMe/">🤖 CI</a>
12+
<a href="https://seleniumbase.io/help_docs/syntax_formats/">🔠 Formats</a> |
13+
<a href="https://seleniumbase.io/integrations/github/workflows/ReadMe/">🤖 CI/CD</a>
1414
<br />
1515
<a href="https://seleniumbase.io/help_docs/method_summary/">📚 API</a> |
1616
<a href="https://seleniumbase.io/examples/example_logs/ReadMe/">📊 Reports</a> |
@@ -31,8 +31,8 @@
3131
<a href="https://seleniumbase.io/help_docs/recorder_mode/">🔴 Recorder</a> |
3232
<a href="https://github.com/seleniumbase/SeleniumBase/tree/master/integrations/node_js">🏃 NodeRunner</a>
3333
<br />
34-
<a href="https://seleniumbase.io/examples/presenter/ReadMe/">🎞️ Presenter</a> |
35-
<a href="https://seleniumbase.io/examples/chart_maker/ReadMe/">📊 ChartMaker</a>
34+
<a href="https://seleniumbase.io/examples/presenter/ReadMe/">🎞️ Slides</a> |
35+
<a href="https://seleniumbase.io/examples/chart_maker/ReadMe/">📊 Charts</a>
3636
</p>
3737

3838
--------

seleniumbase/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# seleniumbase package
2-
__version__ = "3.1.3"
2+
__version__ = "3.1.4"

seleniumbase/console_scripts/sb_install.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,11 @@ def main(override=None):
661661
print("Making [%s %s] executable ..." % (driver_file, use_version))
662662
make_executable(driver_path)
663663
print("%s[%s] is now ready for use!%s" % (c1, driver_file, cr))
664+
if copy_to_path and os.path.exists(LOCAL_PATH):
665+
path_file = LOCAL_PATH + f_name
666+
shutil.copyfile(new_file, path_file)
667+
make_executable(path_file)
668+
print("Also copied to: %s%s%s" % (c3, path_file, cr))
664669
print("")
665670
elif name == "operadriver":
666671
if len(contents) > 3:

0 commit comments

Comments
 (0)