Skip to content

Record the target id in a session - #135

Merged
hadley merged 5 commits into
mainfrom
track-target
Jan 30, 2024
Merged

hadley merged 5 commits into
mainfrom
track-target

Conversation

@hadley

@hadley hadley commented Jan 30, 2024

Copy link
Copy Markdown
Member

Includes some minor documentation improvements.

Part of #94

I tested this by running:

library(chromote)

sess1 <- ChromoteSession$new()
sess1$get_target_id()
sess1$view()

sess2 <- ChromoteSession$new(targetId = sess1$get_target_id())
sess2$view()
sess2$close()

sess1$view()
#> Error: Target info not found

Includes some minor documentation improvements.

Part of #94
@hadley
hadley requested a review from wch January 30, 2024 13:33
Comment thread R/chromote_session.R Resolved
Comment thread NEWS.md Resolved
@hadley
hadley merged commit 2592a5b into main Jan 30, 2024
@hadley
hadley deleted the track-target branch January 30, 2024 18:58
Sign up for free to 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