Open url in a new page ("tab") of the default browser. If not possible, then the behavior becomes equivalent to open_new().
(url)
| 105 | |
| 106 | |
| 107 | def open_new_tab(url): |
| 108 | """Open url in a new page ("tab") of the default browser. |
| 109 | |
| 110 | If not possible, then the behavior becomes equivalent to open_new(). |
| 111 | """ |
| 112 | return open(url, 2) |
| 113 | |
| 114 | |
| 115 | def _synthesize(browser, *, preferred=False): |