How to open a duplicate tab in chrome

broken image

INewTabs = Browser('CreationTime:=0').GetROProperty('number of tabs')įor iCloseTabs = iNewTabs-1 to iTabs step -1īrowser('CreationTime:=' & iCloseTabs). Open Duplicate Chrome Tabs with Bash Posted by Josh on ApLeave a comment (0) Go to comments As I was writing the TabIt post last week, I thought about including an option to duplicate a specific tab. Using this method, you can open multiple profiles at a time and work simultaneously on multiple accounts in the Google Chrome Browser. Answer (1 of 4): On a mac with Google Chrome version 65, you can move the current tab to a new window using only the keyboard with the following steps: Select the Address bar using + L Open current tab in new window using Shift + Enter On Windows, Select the Address bar using F6 O. The selected profile will open in another window and the profile photo will be changed to your Google account picture.

broken image
broken image

ITabs = Browser('CreationTime:=0').GetROProperty('number of tabs')īrowser('CreationTime:=' & iTabs).Navigate ''īrowser('CreationTime:=' & iTabs+1).Navigate ''īrowser('CreationTime:=' & iTabs+2).Navigate '' Go to the profile button and select the profile you want to use. SystemUtil.Run 'C:Program Files (x86)GoogleChromeApplicationchrome.exe' Keep in mind that browser tabs index begin with 0.

broken image

You could modify the code to close the tabs that launch with Chrome, or even add some code to read the tab titles and URL and use logic to decide which to leave open and which to close. Below is some example code that will close tabs based on when they were created.