Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
/**
* Copyright (c) Microsoft Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
.dashboard-shell-sidebar {
width: 100%;
height: 100%;
background: var(--color-canvas-default);
display: flex;
flex-direction: column;
overflow: hidden;
border-right: 1px solid var(--color-border-muted);
}
.dashboard-shell-sidebar-header {
height: 40px;
min-height: 40px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 8px;
border-bottom: 1px solid var(--color-border-muted);
}
.dashboard-shell-sidebar-title {
margin: 0;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
color: var(--color-fg-muted);
letter-spacing: 0.03em;
}
.dashboard-shell-sidebar-content {
flex: 1;
overflow: auto;
padding: 0;
}
.sidebar-empty {
color: var(--color-fg-subtle);
font-size: 13px;
padding: 8px 12px;
}
.dashboard-shell-main {
flex: 1;
display: flex;
flex-direction: column;
height: 100%;
min-width: 0;
min-height: 0;
}
.dashboard-shell-main > .vbox {
flex: 1;
min-height: 0;
}
.dashboard-shell-empty {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: var(--color-fg-muted);
font-size: 14px;
}
.workspace-group {
margin: 0;
}
.workspace-header {
margin: 0;
padding: 8px 12px 4px;
font-size: 12px;
color: var(--color-fg-muted);
font-weight: 400;
}
.workspace-path-full {
display: block;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
direction: rtl;
text-align: left;
unicode-bidi: plaintext;
}
.sidebar-session-list {
display: flex;
flex-direction: column;
gap: 0;
}
.session-chip.sidebar-session {
border: none;
border-radius: 0;
background: transparent;
overflow: hidden;
cursor: default;
position: relative;
}
.sidebar-session-row {
width: 100%;
display: flex;
align-items: center;
gap: 8px;
text-align: left;
padding: 8px 4px 4px 8px;
}
.session-browser-icon-wrap {
position: relative;
width: 18px;
height: 18px;
border-radius: 50%;
flex-shrink: 0;
}
.session-browser-icon {
width: 100%;
height: 100%;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 120ms ease;
}
.session-browser-icon .browser-icon-img {
width: 80%;
height: 80%;
display: block;
}
.session-browser-icon .browser-icon-fallback {
width: 100%;
height: 100%;
border-radius: 50%;
background: var(--color-fg-subtle);
color: var(--color-canvas-default);
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
font-weight: 700;
}
.session-browser-close {
position: absolute;
inset: 0;
border-radius: 50%;
opacity: 0;
pointer-events: none;
transition: opacity 120ms ease;
}
.session-browser-close .codicon {
font-size: 10px;
}
.session-browser-icon-wrap:hover .session-browser-icon {
opacity: 0;
}
.session-browser-icon-wrap:hover .session-browser-close {
opacity: 1;
pointer-events: auto;
}
.session-browser-close:hover {
background: var(--color-neutral-muted);
}
.session-chip-name {
font-size: 13px;
font-weight: 600;
color: var(--color-fg-default);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 0;
}
.sidebar-session-row-actions {
margin-left: auto;
display: flex;
align-items: center;
gap: 4px;
}
.sidebar-session-new-tab .codicon {
font-size: 12px;
}
.sidebar-session-new-tab:hover:not(:disabled) {
background: var(--color-neutral-muted);
}
.sidebar-tabs-loading {
color: var(--color-fg-subtle);
font-size: 12px;
padding: 4px 12px 6px 38px;
margin: 0;
flex: none;
display: block;
justify-content: flex-start;
text-align: left;
}
.sidebar-session .list-view-entry {
display: flex;
align-items: center;
gap: 6px;
font-size: 12px;
color: var(--color-fg-muted);
border-radius: 0;
padding: 4px 4px 4px 24px;
line-height: 1.4;
}
.sidebar-session .list-view-entry:hover {
background: var(--color-neutral-muted);
}
.sidebar-tab-favicon {
width: 14px;
height: 14px;
flex-shrink: 0;
margin-top: 0;
align-self: center;
}
.sidebar-tab-favicon.placeholder {
border-radius: 2px;
background: var(--color-fg-subtle);
color: var(--color-canvas-default);
display: flex;
align-items: center;
justify-content: center;
font-size: 9px;
font-weight: 700;
}
.sidebar-tab-text {
display: flex;
flex-direction: column;
gap: 1px;
flex: 1;
min-width: 0;
}
.sidebar-tab-title {
color: var(--color-fg-default);
line-height: 1.2;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.sidebar-tab-url {
font-size: 11px;
color: var(--color-fg-muted);
line-height: 1.2;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.sidebar-tab-close {
margin-left: auto;
align-self: center;
opacity: 0;
pointer-events: none;
transition: opacity 120ms ease;
}
.sidebar-session .list-view-entry:hover .sidebar-tab-close,
.sidebar-tab-close:focus-visible {
opacity: 1;
pointer-events: auto;
}
.sidebar-tab-close .codicon {
font-size: 12px;
}
.sidebar-tab-close:not(:disabled):hover {
background: var(--color-neutral-muted);
}