Skip to content

Commit

Permalink
Added a menu item to open selenium (on mac only for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrichau committed Oct 25, 2024
1 parent 844a621 commit 7e4444b
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@ commands
runSeleniumServerInTerminal
<script>

"seasideRepository := self seasideIcebergRepository.
repositoryLocation := seasideRepository location.
location exists ifFalse:[ ^ Error signal: 'Could not find git checkout' ]."
| bashScript |
bashScript := 'npm install selenium-standalone && npx selenium-standalone install && npx selenium-standalone start &'.
(LibC resultOfCommand: bashScript) inspect
"Only works on Mac at this time"
LibC system: 'osascript -e ''tell app "Terminal" to activate'' && osascript -e ''tell app "Terminal" to do script "npm install selenium-standalone && npx selenium-standalone install && npx selenium-standalone start"'''

0 comments on commit 7e4444b

Please sign in to comment.