Skip to content

Conversation

tribhuwan-kumar
Copy link
Contributor

fix: #1521

support for arc browser:

image

Copy link
Contributor

github-actions bot commented May 4, 2025

🧪 testing bounty created!

a testing bounty has been created for this PR: view testing issue

testers will be awarded $20 each for providing quality test reports. please check the issue for testing requirements.

@divanshu-go
Copy link
Contributor

@tribhuwan-kumar It only work when the user clicks on that command bar
image

@tribhuwan-kumar
Copy link
Contributor Author

@tribhuwan-kumar It only work when the user clicks on that command bar
image

yes!!

@divanshu-go
Copy link
Contributor

divanshu-go commented May 4, 2025

@tribhuwan-kumar I' have already tinkered all the ways ,

only possible way is getting this element

image

so the tradeoff with it is

  1. it doesnt show full url
  2. it only show local , when user is on any localhost:port

all other ways are very unstable such as getting the RootWebArea (it (value) get stuck on only first time opened url)

@tribhuwan-kumar
Copy link
Contributor Author

@tribhuwan-kumar I' have already tinkered all the ways ,

only possible way is getting this element

image

I figured out all the possible ways but they aren't efficient. one way is that you can get child text of second pane; but that text contains the last hovered url not the active tab url.
so I think waiting for opening command bar is only efficient option, anyway a user will frequently open that command bar for search; so even a little time is enough for getting the url!!

@louis030195
Copy link
Collaborator

stupid question, isnt the url in the page html?

@divanshu-go
Copy link
Contributor

divanshu-go commented May 8, 2025

@louis030195 Yes, that's true. But with the Arc browser, we only get the document_web or page HTML of the first tab that opens when we start the browser.

Even if we switch to a different tab afterward, the HTML still belongs to that first tab. It doesn't update.

In short, Arc browser doesn't refresh or update the document_web element (the page HTML) when the tab or URL changes—which is quite strange

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.

[feature] support arc url capture in windows
3 participants