Skip to content

Open Chrome automatically - #334

Merged
ko1 merged 4 commits into
ruby:masterfrom
ono-max:open-chrome-automatically
Dec 14, 2021
Merged

Open Chrome automatically#334
ko1 merged 4 commits into
ruby:masterfrom
ono-max:open-chrome-automatically

Conversation

@ono-max

@ono-maxono-max commented Oct 19, 2021

Copy link
Copy Markdown
Member

To use Chrome debugging, we need the following steps.

  1. Execute Remote debugger such as rdbg --open=chrome target.rb
  2. Open Chrome browser
  3. Copy and paste the URL which is outputted from the terminal in Google Chrome
  4. Open the Source pane.

The steps are long, so I implemented the setup method for Chrome to open the Chrome browser automatically. We can use Chrome debugging as follows:

  1. Execute Remote debugger such as `rdbg --open=chrome target.rb
  2. Open the Source pane.

The following video shows an example of this PR.

Screen.Recording.2021-10-23.at.20.26.24.mov

Note that I'll refactor the process for WebSocket.

@ono-max
ono-maxforce-pushed the open-chrome-automatically branch 5 times, most recently from 7178fcf to a9960cbCompareOctober 19, 2021 08:12
Comment threadlib/debug/server.rb Outdated
Comment threadlib/debug/server.rb Outdated
Comment threadlib/debug/server.rb
@ono-max
ono-maxforce-pushed the open-chrome-automatically branch 8 times, most recently from c5f5322 to 7bf2944CompareOctober 24, 2021 09:22
@ono-max
ono-max marked this pull request as ready for review October 24, 2021 09:24
@ono-maxono-max changed the title [WIP] Open Chrome automaticallyOpen Chrome automaticallyOct 24, 2021
@ono-max
ono-max requested a review from ko1October 24, 2021 09:24
@ono-max
ono-maxforce-pushed the open-chrome-automatically branch 2 times, most recently from cb6f524 to 98c6d6bCompareOctober 24, 2021 10:26
Comment threadlib/debug/server_cdp.rb Outdated
@ono-max
ono-maxforce-pushed the open-chrome-automatically branch from 98c6d6b to be28829CompareOctober 24, 2021 23:54
@ono-max
ono-max requested a review from ko1October 24, 2021 23:55
@ono-max
ono-maxforce-pushed the open-chrome-automatically branch from be28829 to 8dad621CompareOctober 25, 2021 00:27
Comment threadlib/debug/server.rb Outdated
Comment threadlib/debug/server.rb Outdated
Comment threadlib/debug/server_cdp.rb Outdated
@ono-max
ono-maxforce-pushed the open-chrome-automatically branch 3 times, most recently from 9bfc28f to 1390694CompareOctober 26, 2021 12:28
@ono-max
ono-max requested a review from ko1October 26, 2021 12:59
@ono-max
ono-maxforce-pushed the open-chrome-automatically branch 2 times, most recently from afde07d to 2360481CompareOctober 27, 2021 10:48
Comment threadlib/debug/config.rb Outdated
@ono-max
ono-maxforce-pushed the open-chrome-automatically branch from 2360481 to f04a4a4CompareOctober 28, 2021 23:08
@ono-max
ono-max requested a review from ko1October 28, 2021 23:11
@ono-max
ono-maxforce-pushed the open-chrome-automatically branch 2 times, most recently from 5557fdc to e87b5b7CompareDecember 7, 2021 00:46
@ono-max
ono-max marked this pull request as draft December 7, 2021 12:28
@ono-max
ono-maxforce-pushed the open-chrome-automatically branch 2 times, most recently from 237e9a3 to a1d916cCompareDecember 8, 2021 08:36
@ono-max
ono-maxforce-pushed the open-chrome-automatically branch from a1d916c to 5d2ab5eCompareDecember 8, 2021 08:43
@ono-max
ono-max marked this pull request as ready for review December 8, 2021 08:43
@ko1
ko1 merged commit 39bb81d into ruby:masterDec 14, 2021
@ono-max
ono-max deleted the open-chrome-automatically branch November 6, 2022 09:13
Sign up for freeto 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.

2 participants

@ono-max@ko1