Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More APIs should include name parameter #2691

Open
DmonUnl opened this issue Mar 22, 2023 · 0 comments
Open

More APIs should include name parameter #2691

DmonUnl opened this issue Mar 22, 2023 · 0 comments

Comments

@DmonUnl
Copy link

DmonUnl commented Mar 22, 2023

Current documentation shows you can add named tabs via SwitchTo and OpenTab but same is not included for:
CloseTab
Reload
GoTo (I.e for when you already have an existing tab open but want to give it a name)

Right now you can add names for tabs you are about to open, and switch between existing tabs with names but there should also be logic to close existing tabs or to name existing tabs with no name, or to identify and switch to tabs with no name e.g that have {name:null}

similarly, the name parameter can be applied on browser level with:
OpenBrowser
CloseBrowser
OpenIncognitoWindow
CloseIncognitoWindow

example:
openBrowser()
openTab(‘google.com’,{name:”hi”})
closeTab({name:”hi”})

will throw error “No tab(s) matching [object Object] found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant