mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
migrate: make e2e tests work step 1
This commit is contained in:
parent
2d8bd47675
commit
851bce04b1
26 changed files with 24155 additions and 4379 deletions
|
|
@ -2,17 +2,21 @@ import { NightwatchBrowser } from 'nightwatch';
|
|||
|
||||
const ADD_TASK_GLOBAL_SEL = 'add-task-bar.global input';
|
||||
const ROUTER_WRAPPER = '.route-wrapper';
|
||||
const ADD_BTN = '.switch-add-to-btn';
|
||||
|
||||
module.exports = {
|
||||
async command(this: NightwatchBrowser, taskName: string) {
|
||||
return this.waitForElementVisible(ROUTER_WRAPPER)
|
||||
.setValue('body', 'A')
|
||||
.waitForElementVisible(ADD_TASK_GLOBAL_SEL)
|
||||
.setValue(ADD_TASK_GLOBAL_SEL, taskName)
|
||||
.setValue(ADD_TASK_GLOBAL_SEL, this.Keys.ENTER)
|
||||
.pause(30)
|
||||
.setValue(ADD_TASK_GLOBAL_SEL, this.Keys.ESCAPE)
|
||||
.pause(30)
|
||||
.waitForElementNotPresent(ADD_TASK_GLOBAL_SEL);
|
||||
return (
|
||||
this.waitForElementVisible(ROUTER_WRAPPER)
|
||||
.setValue('body', 'A')
|
||||
.waitForElementVisible(ADD_TASK_GLOBAL_SEL)
|
||||
.setValue(ADD_TASK_GLOBAL_SEL, taskName)
|
||||
.click(ADD_BTN)
|
||||
// .setValue(ADD_TASK_GLOBAL_SEL, this.Keys.ENTER)
|
||||
// .pause(30)
|
||||
// .setValue(ADD_TASK_GLOBAL_SEL, this.Keys.ESCAPE)
|
||||
// .pause(30)
|
||||
.waitForElementNotPresent(ADD_TASK_GLOBAL_SEL)
|
||||
);
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ const BASE_URL = `${BASE}`;
|
|||
|
||||
module.exports = {
|
||||
async command(this: NightwatchBrowser, url: string = BASE_URL) {
|
||||
console.log(url);
|
||||
// return this.url(url).waitForElementVisible('mat-sidenav-container').url(url);
|
||||
return this.url(url);
|
||||
},
|
||||
};
|
||||
|
|
|
|||
21
e2e/commands/sendKeysToActiveEl.ts
Normal file
21
e2e/commands/sendKeysToActiveEl.ts
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import { NightwatchBrowser } from 'nightwatch';
|
||||
|
||||
module.exports = {
|
||||
async command(this: NightwatchBrowser, keys: string | string[]) {
|
||||
return this.execute(
|
||||
() => document.activeElement,
|
||||
[],
|
||||
(result) => {
|
||||
const el = result.value as any;
|
||||
if (Array.isArray(keys)) {
|
||||
keys.forEach((key) => {
|
||||
this.pause(10).sendKeys(el, key).pause(10);
|
||||
});
|
||||
return this;
|
||||
}
|
||||
|
||||
return this.pause(10).sendKeys(el, keys).pause(10);
|
||||
},
|
||||
);
|
||||
},
|
||||
};
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import { NightwatchBrowser } from 'nightwatch';
|
||||
import { NightwatchAPI } from 'nightwatch';
|
||||
|
||||
export interface AddTaskWithReminderParams {
|
||||
title: string;
|
||||
|
|
@ -6,12 +6,12 @@ export interface AddTaskWithReminderParams {
|
|||
scheduleTime?: number;
|
||||
}
|
||||
|
||||
export interface NBrowser extends NightwatchBrowser {
|
||||
export interface NBrowser extends NightwatchAPI {
|
||||
addTask: (taskTitle: string) => NBrowser;
|
||||
addNote: (noteTitle: string) => NBrowser;
|
||||
goToDefaultProject: () => NBrowser;
|
||||
loadAppAndClickAwayWelcomeDialog: (url?: string) => NBrowser;
|
||||
openPanelForTask: (taskSel: string) => NBrowser;
|
||||
// TODO use object for params
|
||||
sendKeysToActiveEl: (keys: string | string[]) => NBrowser;
|
||||
addTaskWithReminder: (params: AddTaskWithReminderParams) => NBrowser;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,26 @@ module.exports = {
|
|||
test_settings: {
|
||||
default: {
|
||||
launch_url: 'https://localhost:4200',
|
||||
desiredCapabilities: {
|
||||
browserName: 'chrome',
|
||||
},
|
||||
screenshots: {
|
||||
enabled: true, // if you want to keep screenshots
|
||||
on_failure: true,
|
||||
on_error: true,
|
||||
path: './e2e/screenshots', // save screenshots here
|
||||
},
|
||||
globals: {
|
||||
waitForConditionPollInterval: 500,
|
||||
waitForConditionTimeout: 10000,
|
||||
retryAssertionTimeout: 1000,
|
||||
},
|
||||
webdriver: {
|
||||
start_process: true,
|
||||
server_path: '',
|
||||
},
|
||||
},
|
||||
chrome: {
|
||||
desiredCapabilities: {
|
||||
browserName: 'chrome',
|
||||
chromeOptions: {
|
||||
|
|
@ -38,16 +58,13 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
},
|
||||
screenshots: {
|
||||
enabled: true, // if you want to keep screenshots
|
||||
on_failure: true,
|
||||
on_error: true,
|
||||
path: './e2e/screenshots', // save screenshots here
|
||||
},
|
||||
globals: {
|
||||
waitForConditionPollInterval: 500,
|
||||
waitForConditionTimeout: 10000,
|
||||
retryAssertionTimeout: 1000,
|
||||
|
||||
webdriver: {
|
||||
start_process: true,
|
||||
server_path: '',
|
||||
cli_args: [
|
||||
// --verbose
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,28 +1,29 @@
|
|||
import { BASE } from '../e2e.const';
|
||||
import { NBrowser } from '../n-browser-interface';
|
||||
|
||||
const URL = `${BASE}/#/tag/TODAY/daily-summary`;
|
||||
const ADD_TASK_BTN_SEL = '.action-nav > button:first-child';
|
||||
const ADD_TASK_GLOBAL_SEL = 'add-task-bar.global input';
|
||||
|
||||
module.exports = {
|
||||
'@tags': ['daily-summary'],
|
||||
|
||||
'Daily summary message': (browser: NBrowser) =>
|
||||
browser
|
||||
.loadAppAndClickAwayWelcomeDialog(URL)
|
||||
.waitForElementVisible('.done-headline')
|
||||
.assert.containsText('.done-headline', 'Take a moment to celebrate')
|
||||
.end(),
|
||||
|
||||
'show any added task in table': (browser: NBrowser) =>
|
||||
browser
|
||||
.loadAppAndClickAwayWelcomeDialog(URL)
|
||||
.waitForElementVisible(ADD_TASK_BTN_SEL)
|
||||
.click(ADD_TASK_BTN_SEL)
|
||||
.waitForElementVisible(ADD_TASK_GLOBAL_SEL)
|
||||
|
||||
.setValue(ADD_TASK_GLOBAL_SEL, 'test task hohoho')
|
||||
.setValue(ADD_TASK_GLOBAL_SEL, browser.Keys.ENTER)
|
||||
.end(),
|
||||
};
|
||||
// import { BASE } from '../e2e.const';
|
||||
// import { NBrowser } from '../n-browser-interface';
|
||||
// /* eslint-disable @typescript-eslint/naming-convention */
|
||||
//
|
||||
// const URL = `${BASE}/#/tag/TODAY/daily-summary`;
|
||||
// const ADD_TASK_BTN_SEL = '.action-nav > button:first-child';
|
||||
// const ADD_TASK_GLOBAL_SEL = 'add-task-bar.global input';
|
||||
//
|
||||
// module.exports = {
|
||||
// '@tags': ['daily-summary'],
|
||||
//
|
||||
// 'Daily summary message': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .loadAppAndClickAwayWelcomeDialog(URL)
|
||||
// .waitForElementVisible('.done-headline')
|
||||
// .assert.containsText('.done-headline', 'Take a moment to celebrate')
|
||||
// .end(),
|
||||
//
|
||||
// 'show any added task in table': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .loadAppAndClickAwayWelcomeDialog(URL)
|
||||
// .waitForElementVisible(ADD_TASK_BTN_SEL)
|
||||
// .click(ADD_TASK_BTN_SEL)
|
||||
// .waitForElementVisible(ADD_TASK_GLOBAL_SEL)
|
||||
//
|
||||
// .setValue(ADD_TASK_GLOBAL_SEL, 'test task hohoho')
|
||||
// .setValue(ADD_TASK_GLOBAL_SEL, browser.Keys.ENTER)
|
||||
// .end(),
|
||||
// };
|
||||
|
|
|
|||
|
|
@ -1,41 +1,41 @@
|
|||
import { NBrowser } from '../n-browser-interface';
|
||||
|
||||
const TOGGLE_BOOKMARK_BAR_BTN = '.action-nav button:nth-child(3)';
|
||||
const BOOKMARK_BAR_OPTS_BTN = 'bookmark-bar .list-controls button:first-of-type';
|
||||
const ADD_BOOKMARK_BTN = '.mat-menu-panel .mat-menu-item:first-of-type';
|
||||
|
||||
const ADD_BOOKMARK_DIALOG = 'dialog-edit-bookmark';
|
||||
const BOOKMARK_TITLE_INP = `${ADD_BOOKMARK_DIALOG} input[name=title]`;
|
||||
const BOOKMARK_URL_INP = `${ADD_BOOKMARK_DIALOG} input[name=path]`;
|
||||
const BOOKMARK_SUBMIT_BTN = `${ADD_BOOKMARK_DIALOG} button[type=submit]:enabled`;
|
||||
|
||||
const BOOKMARK = '.global-bookmark-list-inner .global-bookmark';
|
||||
const FIRST_BOOKMARK = `${BOOKMARK}:first-of-type`;
|
||||
|
||||
module.exports = {
|
||||
'@tags': ['bookmark'],
|
||||
|
||||
'create a bookmark': (browser: NBrowser) =>
|
||||
browser
|
||||
.goToDefaultProject()
|
||||
|
||||
.waitForElementVisible(TOGGLE_BOOKMARK_BAR_BTN)
|
||||
.click(TOGGLE_BOOKMARK_BAR_BTN)
|
||||
|
||||
.waitForElementVisible(BOOKMARK_BAR_OPTS_BTN)
|
||||
.click(BOOKMARK_BAR_OPTS_BTN)
|
||||
|
||||
.waitForElementVisible(ADD_BOOKMARK_BTN)
|
||||
.click(ADD_BOOKMARK_BTN)
|
||||
|
||||
.waitForElementVisible(BOOKMARK_TITLE_INP)
|
||||
.setValue(BOOKMARK_TITLE_INP, 'Some bookmark title')
|
||||
.waitForElementVisible(BOOKMARK_URL_INP)
|
||||
.setValue(BOOKMARK_URL_INP, 'bookmark-url.de')
|
||||
.click(BOOKMARK_SUBMIT_BTN)
|
||||
|
||||
.waitForElementVisible(FIRST_BOOKMARK)
|
||||
.assert.elementPresent(FIRST_BOOKMARK)
|
||||
.assert.containsText(FIRST_BOOKMARK, 'Some bookmark title')
|
||||
.end(),
|
||||
};
|
||||
// import { NBrowser } from '../n-browser-interface';
|
||||
//
|
||||
// const TOGGLE_BOOKMARK_BAR_BTN = '.action-nav button:nth-child(3)';
|
||||
// const BOOKMARK_BAR_OPTS_BTN = 'bookmark-bar .list-controls button:first-of-type';
|
||||
// const ADD_BOOKMARK_BTN = '.mat-menu-panel .mat-menu-item:first-of-type';
|
||||
//
|
||||
// const ADD_BOOKMARK_DIALOG = 'dialog-edit-bookmark';
|
||||
// const BOOKMARK_TITLE_INP = `${ADD_BOOKMARK_DIALOG} input[name=title]`;
|
||||
// const BOOKMARK_URL_INP = `${ADD_BOOKMARK_DIALOG} input[name=path]`;
|
||||
// const BOOKMARK_SUBMIT_BTN = `${ADD_BOOKMARK_DIALOG} button[type=submit]:enabled`;
|
||||
//
|
||||
// const BOOKMARK = '.global-bookmark-list-inner .global-bookmark';
|
||||
// const FIRST_BOOKMARK = `${BOOKMARK}:first-of-type`;
|
||||
// /* eslint-disable @typescript-eslint/naming-convention */
|
||||
//
|
||||
// module.exports = {
|
||||
// '@tags': ['bookmark'],
|
||||
// 'create a bookmark': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .goToDefaultProject()
|
||||
//
|
||||
// .waitForElementVisible(TOGGLE_BOOKMARK_BAR_BTN)
|
||||
// .click(TOGGLE_BOOKMARK_BAR_BTN)
|
||||
//
|
||||
// .waitForElementVisible(BOOKMARK_BAR_OPTS_BTN)
|
||||
// .click(BOOKMARK_BAR_OPTS_BTN)
|
||||
//
|
||||
// .waitForElementVisible(ADD_BOOKMARK_BTN)
|
||||
// .click(ADD_BOOKMARK_BTN)
|
||||
//
|
||||
// .waitForElementVisible(BOOKMARK_TITLE_INP)
|
||||
// .setValue(BOOKMARK_TITLE_INP, 'Some bookmark title')
|
||||
// .waitForElementVisible(BOOKMARK_URL_INP)
|
||||
// .setValue(BOOKMARK_URL_INP, 'bookmark-url.de')
|
||||
// .click(BOOKMARK_SUBMIT_BTN)
|
||||
//
|
||||
// .waitForElementVisible(FIRST_BOOKMARK)
|
||||
// .assert.elementPresent(FIRST_BOOKMARK)
|
||||
// .assert.containsText(FIRST_BOOKMARK, 'Some bookmark title')
|
||||
// .end(),
|
||||
// };
|
||||
|
|
|
|||
|
|
@ -1,37 +1,38 @@
|
|||
import { NBrowser } from '../n-browser-interface';
|
||||
|
||||
const NOTES_WRAPPER = 'notes';
|
||||
const NOTE = 'notes note';
|
||||
const FIRST_NOTE = `${NOTE}:first-of-type`;
|
||||
const TOGGLE_NOTES_BTN = '.toggle-notes-btn';
|
||||
|
||||
module.exports = {
|
||||
'@tags': ['note'],
|
||||
|
||||
'create a note': (browser: NBrowser) =>
|
||||
browser
|
||||
.goToDefaultProject()
|
||||
.addNote('Some new Note')
|
||||
|
||||
.moveToElement(NOTES_WRAPPER, 10, 50)
|
||||
.waitForElementVisible(FIRST_NOTE)
|
||||
.assert.elementPresent(FIRST_NOTE)
|
||||
.assert.containsText(FIRST_NOTE, 'Some new Note')
|
||||
.end(),
|
||||
|
||||
'new note should be still available after reload': (browser: NBrowser) =>
|
||||
browser
|
||||
.goToDefaultProject()
|
||||
.addNote('Some new Note')
|
||||
// wait for save
|
||||
.pause(200)
|
||||
.execute('window.location.reload()')
|
||||
.waitForElementPresent(TOGGLE_NOTES_BTN)
|
||||
.click(TOGGLE_NOTES_BTN)
|
||||
.waitForElementPresent(NOTES_WRAPPER)
|
||||
.moveToElement(NOTES_WRAPPER, 10, 50)
|
||||
.waitForElementVisible(FIRST_NOTE)
|
||||
.assert.elementPresent(FIRST_NOTE)
|
||||
.assert.containsText(FIRST_NOTE, 'Some new Note')
|
||||
.end(),
|
||||
};
|
||||
// import { NBrowser } from '../n-browser-interface';
|
||||
// /* eslint-disable @typescript-eslint/naming-convention */
|
||||
//
|
||||
// const NOTES_WRAPPER = 'notes';
|
||||
// const NOTE = 'notes note';
|
||||
// const FIRST_NOTE = `${NOTE}:first-of-type`;
|
||||
// const TOGGLE_NOTES_BTN = '.toggle-notes-btn';
|
||||
//
|
||||
// module.exports = {
|
||||
// '@tags': ['note'],
|
||||
//
|
||||
// 'create a note': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .goToDefaultProject()
|
||||
// .addNote('Some new Note')
|
||||
//
|
||||
// .moveToElement(NOTES_WRAPPER, 10, 50)
|
||||
// .waitForElementVisible(FIRST_NOTE)
|
||||
// .assert.elementPresent(FIRST_NOTE)
|
||||
// .assert.containsText(FIRST_NOTE, 'Some new Note')
|
||||
// .end(),
|
||||
//
|
||||
// 'new note should be still available after reload': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .goToDefaultProject()
|
||||
// .addNote('Some new Note')
|
||||
// // wait for save
|
||||
// .pause(200)
|
||||
// .execute('window.location.reload()')
|
||||
// .waitForElementPresent(TOGGLE_NOTES_BTN)
|
||||
// .click(TOGGLE_NOTES_BTN)
|
||||
// .waitForElementPresent(NOTES_WRAPPER)
|
||||
// .moveToElement(NOTES_WRAPPER, 10, 50)
|
||||
// .waitForElementVisible(FIRST_NOTE)
|
||||
// .assert.elementPresent(FIRST_NOTE)
|
||||
// .assert.containsText(FIRST_NOTE, 'Some new Note')
|
||||
// .end(),
|
||||
// };
|
||||
|
|
|
|||
|
|
@ -1,98 +1,99 @@
|
|||
import { BASE } from '../e2e.const';
|
||||
import { NBrowser } from '../n-browser-interface';
|
||||
|
||||
const SIDENAV = `side-nav`;
|
||||
const EXPAND_PROJECT_BTN = `${SIDENAV} .expand-btn:first-of-type`;
|
||||
const CREATE_PROJECT_BTN = `${SIDENAV} section.projects .mat-menu-item:last-of-type`;
|
||||
|
||||
const PROJECT_NAME_INPUT = `dialog-create-project input:first-of-type`;
|
||||
const SUBMIT_BTN = `dialog-create-project button[type=submit]:enabled`;
|
||||
|
||||
const PROJECT = `${SIDENAV} section.projects .project`;
|
||||
const DEFAULT_PROJECT = `${PROJECT}:nth-of-type(1)`;
|
||||
const DEFAULT_PROJECT_BTN = `${DEFAULT_PROJECT} .mat-menu-item`;
|
||||
const DEFAULT_PROJECT_ADV_BTN = `${DEFAULT_PROJECT} .project-settings-btn`;
|
||||
|
||||
const WORK_CTX_MENU = `work-context-menu`;
|
||||
const WORK_CTX_TITLE = `.current-work-context-title`;
|
||||
|
||||
const PROJECT_SETTINGS_BTN = `${WORK_CTX_MENU} button:last-of-type`;
|
||||
const SECOND_PROJECT = `${PROJECT}:nth-of-type(2)`;
|
||||
const SECOND_PROJECT_BTN = `${SECOND_PROJECT} button:first-of-type`;
|
||||
|
||||
// const BACKLOG = `.backlog`;
|
||||
// const SPLIT = `split`;
|
||||
const FINISH_DAY_BTN = 'button[routerlink="/active/daily-summary"]';
|
||||
const READY_TO_WORK_BTN = '.ready-to-work-btn';
|
||||
const DAILY_SUMMARY = 'daily-summary';
|
||||
const GLOBAL_ERROR_ALERT = '.global-error-alert';
|
||||
|
||||
module.exports = {
|
||||
'@tags': ['project'],
|
||||
|
||||
'navigate to project settings': (browser: NBrowser) =>
|
||||
browser
|
||||
.loadAppAndClickAwayWelcomeDialog()
|
||||
.waitForElementVisible(EXPAND_PROJECT_BTN)
|
||||
.click(EXPAND_PROJECT_BTN)
|
||||
.waitForElementVisible(DEFAULT_PROJECT_BTN)
|
||||
.moveToElement(DEFAULT_PROJECT_BTN, 20, 20)
|
||||
.waitForElementVisible(DEFAULT_PROJECT_ADV_BTN)
|
||||
.click(DEFAULT_PROJECT_ADV_BTN)
|
||||
.waitForElementVisible(WORK_CTX_MENU)
|
||||
.waitForElementVisible(PROJECT_SETTINGS_BTN)
|
||||
|
||||
// navigate to
|
||||
.click(PROJECT_SETTINGS_BTN)
|
||||
|
||||
.waitForElementVisible('.component-wrapper .mat-h1')
|
||||
.assert.containsText('.component-wrapper .mat-h1', 'Project Specific Settings')
|
||||
.end(),
|
||||
|
||||
'create project': (browser: NBrowser) =>
|
||||
browser
|
||||
.loadAppAndClickAwayWelcomeDialog()
|
||||
.waitForElementVisible(EXPAND_PROJECT_BTN)
|
||||
.click(EXPAND_PROJECT_BTN)
|
||||
.waitForElementVisible(CREATE_PROJECT_BTN)
|
||||
.click(CREATE_PROJECT_BTN)
|
||||
.waitForElementVisible(PROJECT_NAME_INPUT)
|
||||
.setValue(PROJECT_NAME_INPUT, 'Cool Test Project')
|
||||
.click(SUBMIT_BTN)
|
||||
|
||||
.waitForElementVisible(SECOND_PROJECT)
|
||||
.assert.elementPresent(SECOND_PROJECT)
|
||||
.assert.containsText(SECOND_PROJECT, 'Cool Test Project')
|
||||
|
||||
// navigate to
|
||||
.waitForElementVisible(SECOND_PROJECT_BTN)
|
||||
.click(SECOND_PROJECT_BTN)
|
||||
|
||||
// .waitForElementVisible(BACKLOG)
|
||||
// .waitForElementVisible(SPLIT)
|
||||
.assert.containsText(WORK_CTX_TITLE, 'Cool Test Project')
|
||||
.end(),
|
||||
|
||||
'navigate to default': (browser: NBrowser) =>
|
||||
browser
|
||||
.goToDefaultProject()
|
||||
.assert.urlEquals(`${BASE}/#/project/INBOX/tasks`)
|
||||
.assert.containsText(WORK_CTX_TITLE, 'Inbox')
|
||||
.end(),
|
||||
|
||||
'navigate to daily summary from project without error': (browser: NBrowser) =>
|
||||
browser
|
||||
// Go to project page
|
||||
.goToDefaultProject()
|
||||
|
||||
.click(READY_TO_WORK_BTN)
|
||||
|
||||
// navigate to
|
||||
.waitForElementVisible(FINISH_DAY_BTN)
|
||||
.click(FINISH_DAY_BTN)
|
||||
|
||||
.waitForElementPresent(DAILY_SUMMARY)
|
||||
.assert.urlEquals(`${BASE}/#/project/INBOX/daily-summary`)
|
||||
.assert.elementNotPresent(GLOBAL_ERROR_ALERT)
|
||||
.end(),
|
||||
};
|
||||
// import { BASE } from '../e2e.const';
|
||||
// import { NBrowser } from '../n-browser-interface';
|
||||
// /* eslint-disable @typescript-eslint/naming-convention */
|
||||
//
|
||||
// const SIDENAV = `side-nav`;
|
||||
// const EXPAND_PROJECT_BTN = `${SIDENAV} .expand-btn:first-of-type`;
|
||||
// const CREATE_PROJECT_BTN = `${SIDENAV} section.projects .mat-menu-item:last-of-type`;
|
||||
//
|
||||
// const PROJECT_NAME_INPUT = `dialog-create-project input:first-of-type`;
|
||||
// const SUBMIT_BTN = `dialog-create-project button[type=submit]:enabled`;
|
||||
//
|
||||
// const PROJECT = `${SIDENAV} section.projects .project`;
|
||||
// const DEFAULT_PROJECT = `${PROJECT}:nth-of-type(1)`;
|
||||
// const DEFAULT_PROJECT_BTN = `${DEFAULT_PROJECT} .mat-menu-item`;
|
||||
// const DEFAULT_PROJECT_ADV_BTN = `${DEFAULT_PROJECT} .project-settings-btn`;
|
||||
//
|
||||
// const WORK_CTX_MENU = `work-context-menu`;
|
||||
// const WORK_CTX_TITLE = `.current-work-context-title`;
|
||||
//
|
||||
// const PROJECT_SETTINGS_BTN = `${WORK_CTX_MENU} button:last-of-type`;
|
||||
// const SECOND_PROJECT = `${PROJECT}:nth-of-type(2)`;
|
||||
// const SECOND_PROJECT_BTN = `${SECOND_PROJECT} button:first-of-type`;
|
||||
//
|
||||
// // const BACKLOG = `.backlog`;
|
||||
// // const SPLIT = `split`;
|
||||
// const FINISH_DAY_BTN = 'button[routerlink="/active/daily-summary"]';
|
||||
// const READY_TO_WORK_BTN = '.ready-to-work-btn';
|
||||
// const DAILY_SUMMARY = 'daily-summary';
|
||||
// const GLOBAL_ERROR_ALERT = '.global-error-alert';
|
||||
//
|
||||
// module.exports = {
|
||||
// '@tags': ['project'],
|
||||
//
|
||||
// 'navigate to project settings': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .loadAppAndClickAwayWelcomeDialog()
|
||||
// .waitForElementVisible(EXPAND_PROJECT_BTN)
|
||||
// .click(EXPAND_PROJECT_BTN)
|
||||
// .waitForElementVisible(DEFAULT_PROJECT_BTN)
|
||||
// .moveToElement(DEFAULT_PROJECT_BTN, 20, 20)
|
||||
// .waitForElementVisible(DEFAULT_PROJECT_ADV_BTN)
|
||||
// .click(DEFAULT_PROJECT_ADV_BTN)
|
||||
// .waitForElementVisible(WORK_CTX_MENU)
|
||||
// .waitForElementVisible(PROJECT_SETTINGS_BTN)
|
||||
//
|
||||
// // navigate to
|
||||
// .click(PROJECT_SETTINGS_BTN)
|
||||
//
|
||||
// .waitForElementVisible('.component-wrapper .mat-h1')
|
||||
// .assert.containsText('.component-wrapper .mat-h1', 'Project Specific Settings')
|
||||
// .end(),
|
||||
//
|
||||
// 'create project': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .loadAppAndClickAwayWelcomeDialog()
|
||||
// .waitForElementVisible(EXPAND_PROJECT_BTN)
|
||||
// .click(EXPAND_PROJECT_BTN)
|
||||
// .waitForElementVisible(CREATE_PROJECT_BTN)
|
||||
// .click(CREATE_PROJECT_BTN)
|
||||
// .waitForElementVisible(PROJECT_NAME_INPUT)
|
||||
// .setValue(PROJECT_NAME_INPUT, 'Cool Test Project')
|
||||
// .click(SUBMIT_BTN)
|
||||
//
|
||||
// .waitForElementVisible(SECOND_PROJECT)
|
||||
// .assert.elementPresent(SECOND_PROJECT)
|
||||
// .assert.containsText(SECOND_PROJECT, 'Cool Test Project')
|
||||
//
|
||||
// // navigate to
|
||||
// .waitForElementVisible(SECOND_PROJECT_BTN)
|
||||
// .click(SECOND_PROJECT_BTN)
|
||||
//
|
||||
// // .waitForElementVisible(BACKLOG)
|
||||
// // .waitForElementVisible(SPLIT)
|
||||
// .assert.containsText(WORK_CTX_TITLE, 'Cool Test Project')
|
||||
// .end(),
|
||||
//
|
||||
// 'navigate to default': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .goToDefaultProject()
|
||||
// .assert.urlEquals(`${BASE}/#/project/INBOX/tasks`)
|
||||
// .assert.containsText(WORK_CTX_TITLE, 'Inbox')
|
||||
// .end(),
|
||||
//
|
||||
// 'navigate to daily summary from project without error': (browser: NBrowser) =>
|
||||
// browser
|
||||
// // Go to project page
|
||||
// .goToDefaultProject()
|
||||
//
|
||||
// .click(READY_TO_WORK_BTN)
|
||||
//
|
||||
// // navigate to
|
||||
// .waitForElementVisible(FINISH_DAY_BTN)
|
||||
// .click(FINISH_DAY_BTN)
|
||||
//
|
||||
// .waitForElementPresent(DAILY_SUMMARY)
|
||||
// .assert.urlEquals(`${BASE}/#/project/INBOX/daily-summary`)
|
||||
// .assert.elementNotPresent(GLOBAL_ERROR_ALERT)
|
||||
// .end(),
|
||||
// };
|
||||
|
|
|
|||
|
|
@ -1,56 +1,57 @@
|
|||
import { BASE } from '../e2e.const';
|
||||
import { NBrowser } from '../n-browser-interface';
|
||||
|
||||
const WORK_VIEW_URL = `${BASE}/`;
|
||||
|
||||
const TASK = 'task';
|
||||
const TASK_2 = `${TASK}:nth-of-type(1)`;
|
||||
const READY_TO_WORK_BTN = '.ready-to-work-btn';
|
||||
const TASK_SCHEDULE_BTN = '.mat-icon-button.schedule-btn';
|
||||
const TASK_SCHEDULE_BTN_2 = TASK_2 + ' ' + TASK_SCHEDULE_BTN;
|
||||
|
||||
const SCHEDULE_ROUTE_BTN = 'button[routerlink="schedule"]';
|
||||
const SCHEDULE_PAGE_CMP = 'schedule-page';
|
||||
const SCHEDULE_PAGE_TASKS = `${SCHEDULE_PAGE_CMP} .tasks > .mat-card`;
|
||||
const SCHEDULE_PAGE_TASK_1 = `${SCHEDULE_PAGE_TASKS}:first-of-type`;
|
||||
// Note: not sure why this is the second child, but it is
|
||||
const SCHEDULE_PAGE_TASK_2 = `${SCHEDULE_PAGE_TASKS}:nth-of-type(2)`;
|
||||
|
||||
module.exports = {
|
||||
'@tags': ['task', 'reminder'],
|
||||
|
||||
'should add a scheduled tasks': (browser: NBrowser) =>
|
||||
browser
|
||||
.loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
.waitForElementPresent(READY_TO_WORK_BTN)
|
||||
.addTaskWithReminder({ title: '0 test task koko', scheduleTime: Date.now() })
|
||||
.waitForElementVisible(TASK)
|
||||
.waitForElementVisible(TASK_SCHEDULE_BTN)
|
||||
.assert.elementPresent(TASK_SCHEDULE_BTN)
|
||||
|
||||
// Navigate to scheduled page and check if entry is there
|
||||
.click(SCHEDULE_ROUTE_BTN)
|
||||
.waitForElementVisible(SCHEDULE_PAGE_CMP)
|
||||
.waitForElementVisible(SCHEDULE_PAGE_TASK_1)
|
||||
.assert.containsText(SCHEDULE_PAGE_TASK_1, '0 test task koko')
|
||||
.end(),
|
||||
|
||||
'should add multiple scheduled tasks': (browser: NBrowser) =>
|
||||
browser
|
||||
.loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
.waitForElementPresent(READY_TO_WORK_BTN)
|
||||
.addTaskWithReminder({ title: '0 test task koko', taskSel: TASK })
|
||||
.addTaskWithReminder({ title: '2 hihihi', taskSel: TASK_2 })
|
||||
.waitForElementVisible(TASK)
|
||||
.waitForElementVisible(TASK_SCHEDULE_BTN)
|
||||
.assert.elementPresent(TASK_SCHEDULE_BTN)
|
||||
.assert.elementPresent(TASK_SCHEDULE_BTN_2)
|
||||
|
||||
// Navigate to scheduled page and check if entry is there
|
||||
.click(SCHEDULE_ROUTE_BTN)
|
||||
.waitForElementVisible(SCHEDULE_PAGE_CMP)
|
||||
.waitForElementVisible(SCHEDULE_PAGE_TASK_1)
|
||||
.assert.containsText(SCHEDULE_PAGE_TASK_1, '0 test task koko')
|
||||
.assert.containsText(SCHEDULE_PAGE_TASK_2, '2 hihihi')
|
||||
.end(),
|
||||
};
|
||||
// import { BASE } from '../e2e.const';
|
||||
// import { NBrowser } from '../n-browser-interface';
|
||||
// /* eslint-disable @typescript-eslint/naming-convention */
|
||||
//
|
||||
// const WORK_VIEW_URL = `${BASE}/`;
|
||||
//
|
||||
// const TASK = 'task';
|
||||
// const TASK_2 = `${TASK}:nth-of-type(1)`;
|
||||
// const READY_TO_WORK_BTN = '.ready-to-work-btn';
|
||||
// const TASK_SCHEDULE_BTN = '.mat-icon-button.schedule-btn';
|
||||
// const TASK_SCHEDULE_BTN_2 = TASK_2 + ' ' + TASK_SCHEDULE_BTN;
|
||||
//
|
||||
// const SCHEDULE_ROUTE_BTN = 'button[routerlink="schedule"]';
|
||||
// const SCHEDULE_PAGE_CMP = 'schedule-page';
|
||||
// const SCHEDULE_PAGE_TASKS = `${SCHEDULE_PAGE_CMP} .tasks > .mat-card`;
|
||||
// const SCHEDULE_PAGE_TASK_1 = `${SCHEDULE_PAGE_TASKS}:first-of-type`;
|
||||
// // Note: not sure why this is the second child, but it is
|
||||
// const SCHEDULE_PAGE_TASK_2 = `${SCHEDULE_PAGE_TASKS}:nth-of-type(2)`;
|
||||
//
|
||||
// module.exports = {
|
||||
// '@tags': ['task', 'reminder'],
|
||||
//
|
||||
// 'should add a scheduled tasks': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
// .waitForElementPresent(READY_TO_WORK_BTN)
|
||||
// .addTaskWithReminder({ title: '0 test task koko', scheduleTime: Date.now() })
|
||||
// .waitForElementVisible(TASK)
|
||||
// .waitForElementVisible(TASK_SCHEDULE_BTN)
|
||||
// .assert.elementPresent(TASK_SCHEDULE_BTN)
|
||||
//
|
||||
// // Navigate to scheduled page and check if entry is there
|
||||
// .click(SCHEDULE_ROUTE_BTN)
|
||||
// .waitForElementVisible(SCHEDULE_PAGE_CMP)
|
||||
// .waitForElementVisible(SCHEDULE_PAGE_TASK_1)
|
||||
// .assert.containsText(SCHEDULE_PAGE_TASK_1, '0 test task koko')
|
||||
// .end(),
|
||||
//
|
||||
// 'should add multiple scheduled tasks': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
// .waitForElementPresent(READY_TO_WORK_BTN)
|
||||
// .addTaskWithReminder({ title: '0 test task koko', taskSel: TASK })
|
||||
// .addTaskWithReminder({ title: '2 hihihi', taskSel: TASK_2 })
|
||||
// .waitForElementVisible(TASK)
|
||||
// .waitForElementVisible(TASK_SCHEDULE_BTN)
|
||||
// .assert.elementPresent(TASK_SCHEDULE_BTN)
|
||||
// .assert.elementPresent(TASK_SCHEDULE_BTN_2)
|
||||
//
|
||||
// // Navigate to scheduled page and check if entry is there
|
||||
// .click(SCHEDULE_ROUTE_BTN)
|
||||
// .waitForElementVisible(SCHEDULE_PAGE_CMP)
|
||||
// .waitForElementVisible(SCHEDULE_PAGE_TASK_1)
|
||||
// .assert.containsText(SCHEDULE_PAGE_TASK_1, '0 test task koko')
|
||||
// .assert.containsText(SCHEDULE_PAGE_TASK_2, '2 hihihi')
|
||||
// .end(),
|
||||
// };
|
||||
|
|
|
|||
|
|
@ -1,90 +1,91 @@
|
|||
import { BASE } from '../e2e.const';
|
||||
import { NBrowser } from '../n-browser-interface';
|
||||
|
||||
const WORK_VIEW_URL = `${BASE}/`;
|
||||
|
||||
const DIALOG = 'dialog-view-task-reminder';
|
||||
const DIALOG_TASKS_WRAPPER = `${DIALOG} .tasks`;
|
||||
|
||||
const DIALOG_TASK = `${DIALOG} .task`;
|
||||
const DIALOG_TASK1 = `${DIALOG_TASK}:first-of-type`;
|
||||
const DIALOG_TASK2 = `${DIALOG_TASK}:nth-of-type(2)`;
|
||||
const DIALOG_TASK3 = `${DIALOG_TASK}:nth-of-type(3)`;
|
||||
const TO_TODAY_SUF = ' .actions button:last-of-type';
|
||||
|
||||
const D_ACTIONS = `${DIALOG} mat-dialog-actions`;
|
||||
const D_PLAY = `${D_ACTIONS} button:last-of-type`;
|
||||
|
||||
const TODAY_TASKS = 'task-list task';
|
||||
const TODAY_TASK_1 = `${TODAY_TASKS}:first-of-type`;
|
||||
|
||||
const SCHEDULE_MAX_WAIT_TIME = 180000;
|
||||
|
||||
module.exports = {
|
||||
'@tags': ['task', 'reminder', 'schedule'],
|
||||
|
||||
'should display a modal with a scheduled task if due': (browser: NBrowser) =>
|
||||
browser
|
||||
.loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
.addTaskWithReminder({ title: '0 A task', scheduleTime: Date.now() })
|
||||
.waitForElementVisible(DIALOG, SCHEDULE_MAX_WAIT_TIME)
|
||||
.assert.elementPresent(DIALOG)
|
||||
.waitForElementVisible(DIALOG_TASK1)
|
||||
.assert.elementPresent(DIALOG_TASK1)
|
||||
.assert.containsText(DIALOG_TASK1, '0 A task')
|
||||
.end(),
|
||||
|
||||
'should display a modal with 2 scheduled task if due': (browser: NBrowser) => {
|
||||
return (
|
||||
browser
|
||||
.loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
// NOTE: tasks are sorted by due time
|
||||
.addTaskWithReminder({ title: '0 B task' })
|
||||
.addTaskWithReminder({ title: '1 B task', scheduleTime: Date.now() })
|
||||
.waitForElementVisible(DIALOG, SCHEDULE_MAX_WAIT_TIME)
|
||||
.assert.elementPresent(DIALOG)
|
||||
.waitForElementVisible(DIALOG_TASK1, SCHEDULE_MAX_WAIT_TIME)
|
||||
.waitForElementVisible(DIALOG_TASK2, SCHEDULE_MAX_WAIT_TIME)
|
||||
.assert.containsText(DIALOG_TASKS_WRAPPER, '0 B task')
|
||||
.assert.containsText(DIALOG_TASKS_WRAPPER, '1 B task')
|
||||
.end()
|
||||
);
|
||||
},
|
||||
|
||||
'should start single task': (browser: NBrowser) =>
|
||||
browser
|
||||
.loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
.addTaskWithReminder({ title: '0 C task', scheduleTime: Date.now() })
|
||||
.waitForElementVisible(DIALOG, SCHEDULE_MAX_WAIT_TIME)
|
||||
.waitForElementVisible(DIALOG_TASK1)
|
||||
.click(D_PLAY)
|
||||
.pause(100)
|
||||
.assert.cssClassPresent(TODAY_TASK_1, 'isCurrent')
|
||||
.end(),
|
||||
|
||||
'should manually empty list via add to today': (browser: NBrowser) => {
|
||||
const start = Date.now() + 100000;
|
||||
return (
|
||||
browser
|
||||
.loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
// NOTE: tasks are sorted by due time
|
||||
.addTaskWithReminder({ title: '0 D task xyz', scheduleTime: start })
|
||||
.addTaskWithReminder({ title: '1 D task xyz', scheduleTime: start })
|
||||
.addTaskWithReminder({ title: '2 D task xyz', scheduleTime: Date.now() })
|
||||
.waitForElementVisible(DIALOG, SCHEDULE_MAX_WAIT_TIME + 120000)
|
||||
// wait for all tasks to be present
|
||||
.waitForElementVisible(DIALOG_TASK1, SCHEDULE_MAX_WAIT_TIME + 120000)
|
||||
.waitForElementVisible(DIALOG_TASK2, SCHEDULE_MAX_WAIT_TIME + 120000)
|
||||
.waitForElementVisible(DIALOG_TASK3, SCHEDULE_MAX_WAIT_TIME + 120000)
|
||||
.pause(100)
|
||||
.assert.containsText(DIALOG_TASKS_WRAPPER, '0 D task xyz')
|
||||
.assert.containsText(DIALOG_TASKS_WRAPPER, '1 D task xyz')
|
||||
.assert.containsText(DIALOG_TASKS_WRAPPER, '2 D task xyz')
|
||||
.click(DIALOG_TASK1 + TO_TODAY_SUF)
|
||||
.click(DIALOG_TASK2 + TO_TODAY_SUF)
|
||||
.pause(50)
|
||||
.assert.containsText(DIALOG_TASK1, 'D task xyz')
|
||||
.end()
|
||||
);
|
||||
},
|
||||
};
|
||||
// import { BASE } from '../e2e.const';
|
||||
// import { NBrowser } from '../n-browser-interface';
|
||||
// /* eslint-disable @typescript-eslint/naming-convention */
|
||||
//
|
||||
// const WORK_VIEW_URL = `${BASE}/`;
|
||||
//
|
||||
// const DIALOG = 'dialog-view-task-reminder';
|
||||
// const DIALOG_TASKS_WRAPPER = `${DIALOG} .tasks`;
|
||||
//
|
||||
// const DIALOG_TASK = `${DIALOG} .task`;
|
||||
// const DIALOG_TASK1 = `${DIALOG_TASK}:first-of-type`;
|
||||
// const DIALOG_TASK2 = `${DIALOG_TASK}:nth-of-type(2)`;
|
||||
// const DIALOG_TASK3 = `${DIALOG_TASK}:nth-of-type(3)`;
|
||||
// const TO_TODAY_SUF = ' .actions button:last-of-type';
|
||||
//
|
||||
// const D_ACTIONS = `${DIALOG} mat-dialog-actions`;
|
||||
// const D_PLAY = `${D_ACTIONS} button:last-of-type`;
|
||||
//
|
||||
// const TODAY_TASKS = 'task-list task';
|
||||
// const TODAY_TASK_1 = `${TODAY_TASKS}:first-of-type`;
|
||||
//
|
||||
// const SCHEDULE_MAX_WAIT_TIME = 180000;
|
||||
//
|
||||
// module.exports = {
|
||||
// '@tags': ['task', 'reminder', 'schedule'],
|
||||
//
|
||||
// 'should display a modal with a scheduled task if due': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
// .addTaskWithReminder({ title: '0 A task', scheduleTime: Date.now() })
|
||||
// .waitForElementVisible(DIALOG, SCHEDULE_MAX_WAIT_TIME)
|
||||
// .assert.elementPresent(DIALOG)
|
||||
// .waitForElementVisible(DIALOG_TASK1)
|
||||
// .assert.elementPresent(DIALOG_TASK1)
|
||||
// .assert.containsText(DIALOG_TASK1, '0 A task')
|
||||
// .end(),
|
||||
//
|
||||
// 'should display a modal with 2 scheduled task if due': (browser: NBrowser) => {
|
||||
// return (
|
||||
// browser
|
||||
// .loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
// // NOTE: tasks are sorted by due time
|
||||
// .addTaskWithReminder({ title: '0 B task' })
|
||||
// .addTaskWithReminder({ title: '1 B task', scheduleTime: Date.now() })
|
||||
// .waitForElementVisible(DIALOG, SCHEDULE_MAX_WAIT_TIME)
|
||||
// .assert.elementPresent(DIALOG)
|
||||
// .waitForElementVisible(DIALOG_TASK1, SCHEDULE_MAX_WAIT_TIME)
|
||||
// .waitForElementVisible(DIALOG_TASK2, SCHEDULE_MAX_WAIT_TIME)
|
||||
// .assert.containsText(DIALOG_TASKS_WRAPPER, '0 B task')
|
||||
// .assert.containsText(DIALOG_TASKS_WRAPPER, '1 B task')
|
||||
// .end()
|
||||
// );
|
||||
// },
|
||||
//
|
||||
// 'should start single task': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
// .addTaskWithReminder({ title: '0 C task', scheduleTime: Date.now() })
|
||||
// .waitForElementVisible(DIALOG, SCHEDULE_MAX_WAIT_TIME)
|
||||
// .waitForElementVisible(DIALOG_TASK1)
|
||||
// .click(D_PLAY)
|
||||
// .pause(100)
|
||||
// .assert.cssClassPresent(TODAY_TASK_1, 'isCurrent')
|
||||
// .end(),
|
||||
//
|
||||
// 'should manually empty list via add to today': (browser: NBrowser) => {
|
||||
// const start = Date.now() + 100000;
|
||||
// return (
|
||||
// browser
|
||||
// .loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
// // NOTE: tasks are sorted by due time
|
||||
// .addTaskWithReminder({ title: '0 D task xyz', scheduleTime: start })
|
||||
// .addTaskWithReminder({ title: '1 D task xyz', scheduleTime: start })
|
||||
// .addTaskWithReminder({ title: '2 D task xyz', scheduleTime: Date.now() })
|
||||
// .waitForElementVisible(DIALOG, SCHEDULE_MAX_WAIT_TIME + 120000)
|
||||
// // wait for all tasks to be present
|
||||
// .waitForElementVisible(DIALOG_TASK1, SCHEDULE_MAX_WAIT_TIME + 120000)
|
||||
// .waitForElementVisible(DIALOG_TASK2, SCHEDULE_MAX_WAIT_TIME + 120000)
|
||||
// .waitForElementVisible(DIALOG_TASK3, SCHEDULE_MAX_WAIT_TIME + 120000)
|
||||
// .pause(100)
|
||||
// .assert.containsText(DIALOG_TASKS_WRAPPER, '0 D task xyz')
|
||||
// .assert.containsText(DIALOG_TASKS_WRAPPER, '1 D task xyz')
|
||||
// .assert.containsText(DIALOG_TASKS_WRAPPER, '2 D task xyz')
|
||||
// .click(DIALOG_TASK1 + TO_TODAY_SUF)
|
||||
// .click(DIALOG_TASK2 + TO_TODAY_SUF)
|
||||
// .pause(50)
|
||||
// .assert.containsText(DIALOG_TASK1, 'D task xyz')
|
||||
// .end()
|
||||
// );
|
||||
// },
|
||||
// };
|
||||
|
|
|
|||
|
|
@ -1,21 +1,22 @@
|
|||
import { BASE } from '../e2e.const';
|
||||
import { NBrowser } from '../n-browser-interface';
|
||||
|
||||
const TASK = 'task';
|
||||
const TASK_TAGS = 'task tag';
|
||||
const WORK_VIEW_URL = `${BASE}/`;
|
||||
const READY_TO_WORK_BTN = '.ready-to-work-btn';
|
||||
|
||||
module.exports = {
|
||||
'@tags': ['work-view', 'task', 'short-syntax'],
|
||||
|
||||
'should add task with project via short syntax': (browser: NBrowser) =>
|
||||
browser
|
||||
.loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
.waitForElementVisible(READY_TO_WORK_BTN)
|
||||
.addTask('0 test task koko +i')
|
||||
.waitForElementVisible(TASK)
|
||||
.assert.visible(TASK)
|
||||
.assert.containsText(TASK_TAGS, 'Inbox')
|
||||
.end(),
|
||||
};
|
||||
// import { BASE } from '../e2e.const';
|
||||
// import { NBrowser } from '../n-browser-interface';
|
||||
// /* eslint-disable @typescript-eslint/naming-convention */
|
||||
//
|
||||
// const TASK = 'task';
|
||||
// const TASK_TAGS = 'task tag';
|
||||
// const WORK_VIEW_URL = `${BASE}/`;
|
||||
// const READY_TO_WORK_BTN = '.ready-to-work-btn';
|
||||
//
|
||||
// module.exports = {
|
||||
// '@tags': ['work-view', 'task', 'short-syntax'],
|
||||
//
|
||||
// 'should add task with project via short syntax': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
// .waitForElementVisible(READY_TO_WORK_BTN)
|
||||
// .addTask('0 test task koko +i')
|
||||
// .waitForElementVisible(TASK)
|
||||
// .assert.visible(TASK)
|
||||
// .assert.containsText(TASK_TAGS, 'Inbox')
|
||||
// .end(),
|
||||
// };
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { BASE } from '../e2e.const';
|
||||
import { NBrowser } from '../n-browser-interface';
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
|
||||
const ADD_TASK_INITIAL = 'add-task-bar:not(.global) input';
|
||||
const ADD_TASK_GLOBAL = 'add-task-bar.global input';
|
||||
|
|
@ -10,7 +11,6 @@ const READY_TO_WORK_BTN = '.ready-to-work-btn';
|
|||
|
||||
module.exports = {
|
||||
'@tags': ['work-view', 'task', 'task-standard'],
|
||||
|
||||
'should add task via key combo': (browser: NBrowser) =>
|
||||
browser
|
||||
.loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
|
|
@ -50,24 +50,24 @@ module.exports = {
|
|||
.assert.containsText(TASK + ':nth-child(2)', '2 test task hihi')
|
||||
.end(),
|
||||
|
||||
'should add multiple tasks from header button': (browser: NBrowser) =>
|
||||
browser
|
||||
.loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
.waitForElementVisible(ADD_TASK_BTN)
|
||||
.click(ADD_TASK_BTN)
|
||||
.waitForElementVisible(ADD_TASK_GLOBAL)
|
||||
|
||||
.setValue(ADD_TASK_GLOBAL, '4 test task hohoho')
|
||||
.setValue(ADD_TASK_GLOBAL, browser.Keys.ENTER)
|
||||
.setValue(ADD_TASK_GLOBAL, '5 some other task xoxo')
|
||||
.setValue(ADD_TASK_GLOBAL, browser.Keys.ENTER)
|
||||
|
||||
.waitForElementVisible(TASK)
|
||||
.assert.visible(TASK)
|
||||
// NOTE: global adds to top rather than bottom
|
||||
.assert.containsText(TASK + ':nth-child(1)', '5 some other task xoxo')
|
||||
.assert.containsText(TASK + ':nth-child(2)', '4 test task hohoho')
|
||||
.end(),
|
||||
// 'should add multiple tasks from header button': (browser: NBrowser) =>
|
||||
// browser
|
||||
// .loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
// .waitForElementVisible(ADD_TASK_BTN)
|
||||
// .click(ADD_TASK_BTN)
|
||||
// .waitForElementVisible(ADD_TASK_GLOBAL)
|
||||
//
|
||||
// .setValue(ADD_TASK_GLOBAL, '4 test task hohoho')
|
||||
// .setValue(ADD_TASK_GLOBAL, browser.Keys.ENTER)
|
||||
// .setValue(ADD_TASK_GLOBAL, '5 some other task xoxo')
|
||||
// .setValue(ADD_TASK_GLOBAL, browser.Keys.ENTER)
|
||||
//
|
||||
// .waitForElementVisible(TASK)
|
||||
// .assert.visible(TASK)
|
||||
// // NOTE: global adds to top rather than bottom
|
||||
// .assert.containsText(TASK + ':nth-child(1)', '5 some other task xoxo')
|
||||
// .assert.containsText(TASK + ':nth-child(2)', '4 test task hohoho')
|
||||
// .end(),
|
||||
|
||||
'should still show created task after reload': (browser: NBrowser) =>
|
||||
browser
|
||||
|
|
@ -88,31 +88,22 @@ module.exports = {
|
|||
.loadAppAndClickAwayWelcomeDialog(WORK_VIEW_URL)
|
||||
.waitForElementVisible(ADD_TASK_INITIAL)
|
||||
|
||||
.setValue(ADD_TASK_INITIAL, '1 test task hihi')
|
||||
.setValue(ADD_TASK_INITIAL, browser.Keys.ENTER)
|
||||
.setValue(ADD_TASK_INITIAL, '2 some other task')
|
||||
.setValue(ADD_TASK_INITIAL, browser.Keys.ENTER)
|
||||
.setValue(ADD_TASK_INITIAL, '3 hihi some other task')
|
||||
.setValue(ADD_TASK_INITIAL, browser.Keys.ENTER)
|
||||
.addTask('3 hihi some other task')
|
||||
.addTask('2 some other task')
|
||||
.addTask('1 test task hihi')
|
||||
|
||||
.waitForElementVisible(TASK)
|
||||
.assert.visible(TASK)
|
||||
|
||||
// focus
|
||||
.pause(200)
|
||||
.keys(browser.Keys.TAB)
|
||||
.keys(browser.Keys.TAB)
|
||||
.pause(200)
|
||||
.sendKeysToActiveEl(browser.Keys.TAB)
|
||||
.sendKeysToActiveEl(browser.Keys.TAB)
|
||||
|
||||
.keys(browser.Keys.BACK_SPACE)
|
||||
.pause(200)
|
||||
.waitForElementNotPresent(TASK + ':nth-child(3)')
|
||||
.sendKeysToActiveEl(browser.Keys.BACK_SPACE)
|
||||
|
||||
.keys(browser.Keys.BACK_SPACE)
|
||||
.pause(200)
|
||||
.sendKeysToActiveEl(browser.Keys.BACK_SPACE)
|
||||
.waitForElementNotPresent(TASK + ':nth-child(2)')
|
||||
|
||||
.assert.containsText(TASK + ':nth-child(1)', '1 test task hihi')
|
||||
.assert.textContains(TASK + ':nth-child(1)', '1 test task hihi')
|
||||
.end(),
|
||||
|
||||
'should focus previous subtask when marking last subtask done': (browser: NBrowser) =>
|
||||
|
|
@ -121,11 +112,11 @@ module.exports = {
|
|||
.addTask('task1')
|
||||
.addTask('task2')
|
||||
.setValue('task:last-child', 'a')
|
||||
.keys(['task3', browser.Keys.ENTER])
|
||||
.sendKeysToActiveEl(['task3', browser.Keys.ENTER])
|
||||
.setValue('[listid="SUB"] task:nth-child(1)', 'a')
|
||||
.keys(['task4', browser.Keys.ENTER])
|
||||
.sendKeysToActiveEl(['task4', browser.Keys.ENTER])
|
||||
.moveToElement('[listid="SUB"] task:nth-child(2)', 10, 30)
|
||||
.click('.task-done-btn')
|
||||
.assert.containsText(':focus', 'task3')
|
||||
.assert.textContains(':focus', 'task3')
|
||||
.end(),
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,13 +2,16 @@
|
|||
"extends": "../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../out-tsc/e2e",
|
||||
"target": "esnext",
|
||||
"module": "commonjs",
|
||||
"esModuleInterop": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"moduleResolution": "node",
|
||||
"target": "es5",
|
||||
"types": [
|
||||
"jasmine",
|
||||
"jasminewd2",
|
||||
"node"
|
||||
]
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"allowJs": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noEmit": false,
|
||||
"typeRoots": ["node_modules/@types"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,259 @@
|
|||
Starting ChromeDriver 114.0.5735.90 (386bc09e8f4f2e025eddae123f36f6263096ae49-refs/branch-heads/5735@{#1052}) on port 9515
|
||||
Starting ChromeDriver 125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186}) on port 9515
|
||||
Only local connections are allowed.
|
||||
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
|
||||
ChromeDriver was started successfully.
|
||||
[1691165641,656][INFO]: [2755c4e93cf9cd0834e8175cc41512c6] COMMAND InitSession {
|
||||
[1718716170,534][INFO]: [56fc9f2ff3accf2f2bf637cdef014d47] COMMAND InitSession {
|
||||
"capabilities": {
|
||||
"alwaysMatch": {
|
||||
"browserName": "chrome",
|
||||
"goog:chromeOptions": {
|
||||
"args": [ "--headless", "--disable-gpu", "--window-size=1280,800", "--no-sandbox", "--disable-dev-shm-usage", "--disable-browser-side-navigation", "--user-agent=NIGHTWATCH" ],
|
||||
"prefs": {
|
||||
"profile.default_content_setting_values.geolocation": 1,
|
||||
"profile.default_content_setting_values.notifications": 2
|
||||
},
|
||||
"w3c": false
|
||||
}
|
||||
},
|
||||
"firstMatch": [ {
|
||||
} ]
|
||||
}
|
||||
}
|
||||
[1691165641,657][INFO]: [2755c4e93cf9cd0834e8175cc41512c6] RESPONSE InitSession ERROR session not created: Missing or invalid capabilities
|
||||
[1691165641,657][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716170,534][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716170,534][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716170,534][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/google-chrome
|
||||
[1718716170,534][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium
|
||||
[1718716170,534][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium-browser
|
||||
[1718716170,534][INFO]: Browser search. Trying... /usr/local/sbin/chrome
|
||||
[1718716170,534][INFO]: Browser search. Trying... /usr/local/bin/chrome
|
||||
[1718716170,534][INFO]: Browser search. Trying... /usr/sbin/chrome
|
||||
[1718716170,534][INFO]: Browser search. Trying... /usr/bin/chrome
|
||||
[1718716170,534][INFO]: Browser search. Trying... /sbin/chrome
|
||||
[1718716170,534][INFO]: Browser search. Trying... /bin/chrome
|
||||
[1718716170,534][INFO]: Browser search. Trying... /opt/google/chrome/chrome
|
||||
[1718716170,534][INFO]: Browser search. Found at /opt/google/chrome/chrome
|
||||
[1718716170,535][INFO]: Populating Preferences file: {
|
||||
"alternate_error_pages": {
|
||||
"enabled": false
|
||||
},
|
||||
"autofill": {
|
||||
"enabled": false
|
||||
},
|
||||
"browser": {
|
||||
"check_default_browser": false
|
||||
},
|
||||
"distribution": {
|
||||
"import_bookmarks": false,
|
||||
"import_history": false,
|
||||
"import_search_engine": false,
|
||||
"make_chrome_default_for_user": false,
|
||||
"skip_first_run_ui": true
|
||||
},
|
||||
"dns_prefetching": {
|
||||
"enabled": false
|
||||
},
|
||||
"profile": {
|
||||
"content_settings": {
|
||||
"pattern_pairs": {
|
||||
"https://*,*": {
|
||||
"media-stream": {
|
||||
"audio": "Default",
|
||||
"video": "Default"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"default_content_setting_values": {
|
||||
"geolocation": 1
|
||||
},
|
||||
"default_content_settings": {
|
||||
"geolocation": 1,
|
||||
"mouselock": 1,
|
||||
"notifications": 1,
|
||||
"popups": 1,
|
||||
"ppapi-broker": 1
|
||||
},
|
||||
"password_manager_enabled": false
|
||||
},
|
||||
"safebrowsing": {
|
||||
"enabled": false
|
||||
},
|
||||
"search": {
|
||||
"suggest_enabled": false
|
||||
},
|
||||
"translate": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
[1718716170,535][INFO]: Populating Local State file: {
|
||||
"background_mode": {
|
||||
"enabled": false
|
||||
},
|
||||
"ssl": {
|
||||
"rev_checking": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
}
|
||||
[1718716170,535][INFO]: ChromeDriver supports communication with Chrome via pipes. This is more reliable and more secure.
|
||||
[1718716170,535][INFO]: Use the --remote-debugging-pipe Chrome switch instead of the default --remote-debugging-port to enable this communication mode.
|
||||
[1718716170,535][INFO]: Launching chrome: /opt/google/chrome/chrome --allow-pre-commit-input --disable-background-networking --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-automation --enable-logging=stderr --log-level=0 --no-first-run --no-service-autorun --password-store=basic --remote-debugging-port=0 --test-type=webdriver --use-mock-keychain --user-data-dir=/tmp/.org.chromium.Chromium.SOhQMz data:,
|
||||
[0618/150930.554549:WARNING:chrome_main_linux.cc(80)] Read channel stable from /opt/google/chrome/CHROME_VERSION_EXTRA
|
||||
[1525329:1525329:0618/150930.555384:WARNING:chrome_main_delegate.cc(742)] This is Chrome version 126.0.6478.61 (not a warning)
|
||||
[1525329:1525329:0618/150930.699905:INFO:chrome_browser_cloud_management_controller.cc(196)] No machine level policy manager exists.
|
||||
|
||||
DevTools listening on ws://127.0.0.1:38607/devtools/browser/9620b4dd-22ea-4247-8edc-aa98f46b80ff
|
||||
[1718716170,756][DEBUG]: DevTools HTTP Request: http://localhost:38607/json/version
|
||||
[1525329:1525329:0618/150930.776170:WARNING:browser_management_service.cc(128)] EnterpriseLogoUrl fetch failed with error code -1 and MIME type
|
||||
[1525329:1525329:0618/150930.817100:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
|
||||
[1718716170,926][DEBUG]: DevTools HTTP Response: {
|
||||
"Browser": "Chrome/126.0.6478.61",
|
||||
"Protocol-Version": "1.3",
|
||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
|
||||
"V8-Version": "12.6.228.16",
|
||||
"WebKit-Version": "537.36 (@8dc092df54ce9b93406cb7fec530eb297bc0b332)",
|
||||
"webSocketDebuggerUrl": "ws://localhost:38607/devtools/browser/9620b4dd-22ea-4247-8edc-aa98f46b80ff"
|
||||
}
|
||||
|
||||
[1718716170,926][WARNING]: This version of ChromeDriver has not been tested with Chrome version 126.
|
||||
[1718716170,926][DEBUG]: DevTools HTTP Request: http://localhost:38607/json/list
|
||||
[1718716170,935][DEBUG]: DevTools HTTP Response: [ {
|
||||
"description": "",
|
||||
"devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:38607/devtools/page/76AC104EBABEAE243EFDE83B1D32446B",
|
||||
"id": "76AC104EBABEAE243EFDE83B1D32446B",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,",
|
||||
"webSocketDebuggerUrl": "ws://localhost:38607/devtools/page/76AC104EBABEAE243EFDE83B1D32446B"
|
||||
} ]
|
||||
|
||||
[1718716170,935][INFO]: resolved localhost to ["127.0.0.1"]
|
||||
[1525329:1525329:0618/150930.935557:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not implemented
|
||||
[1718716170,936][DEBUG]: DevTools WebSocket Command: Target.getTargets (id=1) (session_id=) browser {
|
||||
}
|
||||
[1718716170,936][DEBUG]: DevTools WebSocket Response: Target.getTargets (id=1) (session_id=) browser {
|
||||
"targetInfos": [ {
|
||||
"attached": false,
|
||||
"browserContextId": "8B80B86AAB2369AA5813979A12133FFA",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "76AC104EBABEAE243EFDE83B1D32446B",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
} ]
|
||||
}
|
||||
[1718716170,936][DEBUG]: DevTools WebSocket Command: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"flatten": true,
|
||||
"targetId": "76AC104EBABEAE243EFDE83B1D32446B"
|
||||
}
|
||||
[1718716170,937][DEBUG]: DevTools WebSocket Event: Target.attachedToTarget (session_id=) browser {
|
||||
"sessionId": "657C9645B84AD8F64F6443312E395A57",
|
||||
"targetInfo": {
|
||||
"attached": true,
|
||||
"browserContextId": "8B80B86AAB2369AA5813979A12133FFA",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "76AC104EBABEAE243EFDE83B1D32446B",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
},
|
||||
"waitingForDebugger": false
|
||||
}
|
||||
[1718716170,937][DEBUG]: DevTools WebSocket Response: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"sessionId": "657C9645B84AD8F64F6443312E395A57"
|
||||
}
|
||||
[1718716170,937][DEBUG]: DevTools WebSocket Command: Page.enable (id=3) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
}
|
||||
[1718716170,937][DEBUG]: DevTools WebSocket Command: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
"source": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716170,937][DEBUG]: DevTools WebSocket Command: Runtime.evaluate (id=5) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
"expression": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716170,937][DEBUG]: DevTools WebSocket Command: Log.enable (id=6) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
}
|
||||
[1718716170,937][DEBUG]: DevTools WebSocket Command: Target.setAutoAttach (id=7) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
"autoAttach": true,
|
||||
"flatten": true,
|
||||
"waitForDebuggerOnStart": false
|
||||
}
|
||||
[1525414:1525414:0618/150932.178051:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
|
||||
[1718716172,191][DEBUG]: DevTools WebSocket Response: Page.enable (id=3) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
}
|
||||
[1718716172,191][DEBUG]: DevTools WebSocket Response: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
"identifier": "1"
|
||||
}
|
||||
[1718716172,191][DEBUG]: DevTools WebSocket Response: Runtime.evaluate (id=5) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
"result": {
|
||||
"type": "undefined"
|
||||
}
|
||||
}
|
||||
[1718716172,191][DEBUG]: DevTools WebSocket Response: Log.enable (id=6) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
}
|
||||
[1718716172,191][DEBUG]: DevTools WebSocket Response: Target.setAutoAttach (id=7) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
}
|
||||
[1718716172,191][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=8) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
}
|
||||
[1718716172,192][DEBUG]: DevTools WebSocket Event: Page.domContentEventFired (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
"timestamp": 19586.701116
|
||||
}
|
||||
[1718716172,192][DEBUG]: DevTools WebSocket Event: Page.loadEventFired (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
"timestamp": 19586.701391
|
||||
}
|
||||
[1718716172,200][DEBUG]: DevTools WebSocket Event: Page.frameStoppedLoading (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
"frameId": "76AC104EBABEAE243EFDE83B1D32446B"
|
||||
}
|
||||
[1718716172,200][DEBUG]: DevTools WebSocket Event: Page.frameResized (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
}
|
||||
[1718716172,200][DEBUG]: DevTools WebSocket Event: Runtime.executionContextCreated (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
"context": {
|
||||
"auxData": {
|
||||
"frameId": "76AC104EBABEAE243EFDE83B1D32446B",
|
||||
"isDefault": true,
|
||||
"type": "default"
|
||||
},
|
||||
"id": 1,
|
||||
"name": "",
|
||||
"origin": "://",
|
||||
"uniqueId": "-2651888142375404992.-6403442296311505032"
|
||||
}
|
||||
}
|
||||
[1718716172,200][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=8) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
}
|
||||
[1718716172,200][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=9) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
}
|
||||
[1718716172,201][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=9) (session_id=657C9645B84AD8F64F6443312E395A57) 76AC104EBABEAE243EFDE83B1D32446B {
|
||||
}
|
||||
[1718716172,201][INFO]: [56fc9f2ff3accf2f2bf637cdef014d47] RESPONSE InitSession {
|
||||
"capabilities": {
|
||||
"acceptInsecureCerts": false,
|
||||
"browserName": "chrome",
|
||||
"browserVersion": "126.0.6478.61",
|
||||
"chrome": {
|
||||
"chromedriverVersion": "125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186})",
|
||||
"userDataDir": "/tmp/.org.chromium.Chromium.SOhQMz"
|
||||
},
|
||||
"fedcm:accounts": true,
|
||||
"goog:chromeOptions": {
|
||||
"debuggerAddress": "localhost:38607"
|
||||
},
|
||||
"networkConnectionEnabled": false,
|
||||
"pageLoadStrategy": "normal",
|
||||
"platformName": "linux",
|
||||
"proxy": {
|
||||
},
|
||||
"setWindowRect": true,
|
||||
"strictFileInteractability": false,
|
||||
"timeouts": {
|
||||
"implicit": 0,
|
||||
"pageLoad": 300000,
|
||||
"script": 30000
|
||||
},
|
||||
"unhandledPromptBehavior": "dismiss and notify",
|
||||
"webauthn:extension:credBlob": true,
|
||||
"webauthn:extension:largeBlob": true,
|
||||
"webauthn:extension:minPinLength": true,
|
||||
"webauthn:extension:prf": true,
|
||||
"webauthn:virtualAuthenticators": true
|
||||
},
|
||||
"sessionId": "56fc9f2ff3accf2f2bf637cdef014d47"
|
||||
}
|
||||
[1718716172,211][INFO]: [56fc9f2ff3accf2f2bf637cdef014d47] COMMAND Quit {
|
||||
}
|
||||
[1718716172,262][INFO]: [56fc9f2ff3accf2f2bf637cdef014d47] RESPONSE Quit
|
||||
[1718716172,262][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716172,262][DEBUG]: Log type 'browser' lost 0 entries on destruction
|
||||
|
|
|
|||
|
|
@ -1,23 +1,259 @@
|
|||
Starting ChromeDriver 114.0.5735.90 (386bc09e8f4f2e025eddae123f36f6263096ae49-refs/branch-heads/5735@{#1052}) on port 9515
|
||||
Starting ChromeDriver 125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186}) on port 9515
|
||||
Only local connections are allowed.
|
||||
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
|
||||
ChromeDriver was started successfully.
|
||||
[1691165641,738][INFO]: [c07ffe72aa2795d01fb23aa9843bb598] COMMAND InitSession {
|
||||
[1718716172,322][INFO]: [1991090de61e2cb9dd3b269dc005bdd3] COMMAND InitSession {
|
||||
"capabilities": {
|
||||
"alwaysMatch": {
|
||||
"browserName": "chrome",
|
||||
"goog:chromeOptions": {
|
||||
"args": [ "--headless", "--disable-gpu", "--window-size=1280,800", "--no-sandbox", "--disable-dev-shm-usage", "--disable-browser-side-navigation", "--user-agent=NIGHTWATCH" ],
|
||||
"prefs": {
|
||||
"profile.default_content_setting_values.geolocation": 1,
|
||||
"profile.default_content_setting_values.notifications": 2
|
||||
},
|
||||
"w3c": false
|
||||
}
|
||||
},
|
||||
"firstMatch": [ {
|
||||
} ]
|
||||
}
|
||||
}
|
||||
[1691165641,738][INFO]: [c07ffe72aa2795d01fb23aa9843bb598] RESPONSE InitSession ERROR session not created: Missing or invalid capabilities
|
||||
[1691165641,738][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716172,322][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716172,322][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716172,322][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/google-chrome
|
||||
[1718716172,322][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium
|
||||
[1718716172,322][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium-browser
|
||||
[1718716172,322][INFO]: Browser search. Trying... /usr/local/sbin/chrome
|
||||
[1718716172,322][INFO]: Browser search. Trying... /usr/local/bin/chrome
|
||||
[1718716172,322][INFO]: Browser search. Trying... /usr/sbin/chrome
|
||||
[1718716172,322][INFO]: Browser search. Trying... /usr/bin/chrome
|
||||
[1718716172,322][INFO]: Browser search. Trying... /sbin/chrome
|
||||
[1718716172,322][INFO]: Browser search. Trying... /bin/chrome
|
||||
[1718716172,322][INFO]: Browser search. Trying... /opt/google/chrome/chrome
|
||||
[1718716172,322][INFO]: Browser search. Found at /opt/google/chrome/chrome
|
||||
[1718716172,322][INFO]: Populating Preferences file: {
|
||||
"alternate_error_pages": {
|
||||
"enabled": false
|
||||
},
|
||||
"autofill": {
|
||||
"enabled": false
|
||||
},
|
||||
"browser": {
|
||||
"check_default_browser": false
|
||||
},
|
||||
"distribution": {
|
||||
"import_bookmarks": false,
|
||||
"import_history": false,
|
||||
"import_search_engine": false,
|
||||
"make_chrome_default_for_user": false,
|
||||
"skip_first_run_ui": true
|
||||
},
|
||||
"dns_prefetching": {
|
||||
"enabled": false
|
||||
},
|
||||
"profile": {
|
||||
"content_settings": {
|
||||
"pattern_pairs": {
|
||||
"https://*,*": {
|
||||
"media-stream": {
|
||||
"audio": "Default",
|
||||
"video": "Default"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"default_content_setting_values": {
|
||||
"geolocation": 1
|
||||
},
|
||||
"default_content_settings": {
|
||||
"geolocation": 1,
|
||||
"mouselock": 1,
|
||||
"notifications": 1,
|
||||
"popups": 1,
|
||||
"ppapi-broker": 1
|
||||
},
|
||||
"password_manager_enabled": false
|
||||
},
|
||||
"safebrowsing": {
|
||||
"enabled": false
|
||||
},
|
||||
"search": {
|
||||
"suggest_enabled": false
|
||||
},
|
||||
"translate": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
[1718716172,322][INFO]: Populating Local State file: {
|
||||
"background_mode": {
|
||||
"enabled": false
|
||||
},
|
||||
"ssl": {
|
||||
"rev_checking": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
}
|
||||
[1718716172,322][INFO]: ChromeDriver supports communication with Chrome via pipes. This is more reliable and more secure.
|
||||
[1718716172,322][INFO]: Use the --remote-debugging-pipe Chrome switch instead of the default --remote-debugging-port to enable this communication mode.
|
||||
[1718716172,322][INFO]: Launching chrome: /opt/google/chrome/chrome --allow-pre-commit-input --disable-background-networking --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-automation --enable-logging=stderr --log-level=0 --no-first-run --no-service-autorun --password-store=basic --remote-debugging-port=0 --test-type=webdriver --use-mock-keychain --user-data-dir=/tmp/.org.chromium.Chromium.eOQgtN data:,
|
||||
[0618/150932.346506:WARNING:chrome_main_linux.cc(80)] Read channel stable from /opt/google/chrome/CHROME_VERSION_EXTRA
|
||||
[1525612:1525612:0618/150932.347551:WARNING:chrome_main_delegate.cc(742)] This is Chrome version 126.0.6478.61 (not a warning)
|
||||
[1525612:1525612:0618/150932.536496:INFO:chrome_browser_cloud_management_controller.cc(196)] No machine level policy manager exists.
|
||||
|
||||
DevTools listening on ws://127.0.0.1:33627/devtools/browser/2c65fba7-0a44-409a-b367-200025bd8618
|
||||
[1718716172,602][DEBUG]: DevTools HTTP Request: http://localhost:33627/json/version
|
||||
[1525612:1525612:0618/150932.622665:WARNING:browser_management_service.cc(128)] EnterpriseLogoUrl fetch failed with error code -1 and MIME type
|
||||
[1525612:1525612:0618/150932.641563:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
|
||||
[1718716172,801][DEBUG]: DevTools HTTP Response: {
|
||||
"Browser": "Chrome/126.0.6478.61",
|
||||
"Protocol-Version": "1.3",
|
||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
|
||||
"V8-Version": "12.6.228.16",
|
||||
"WebKit-Version": "537.36 (@8dc092df54ce9b93406cb7fec530eb297bc0b332)",
|
||||
"webSocketDebuggerUrl": "ws://localhost:33627/devtools/browser/2c65fba7-0a44-409a-b367-200025bd8618"
|
||||
}
|
||||
|
||||
[1718716172,801][WARNING]: This version of ChromeDriver has not been tested with Chrome version 126.
|
||||
[1718716172,801][DEBUG]: DevTools HTTP Request: http://localhost:33627/json/list
|
||||
[1718716172,812][DEBUG]: DevTools HTTP Response: [ {
|
||||
"description": "",
|
||||
"devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:33627/devtools/page/6E894677BB57FBC13EE1A44C419D67FA",
|
||||
"id": "6E894677BB57FBC13EE1A44C419D67FA",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,",
|
||||
"webSocketDebuggerUrl": "ws://localhost:33627/devtools/page/6E894677BB57FBC13EE1A44C419D67FA"
|
||||
} ]
|
||||
|
||||
[1718716172,812][INFO]: resolved localhost to ["127.0.0.1"]
|
||||
[1525612:1525612:0618/150932.813836:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not implemented
|
||||
[1718716172,814][DEBUG]: DevTools WebSocket Command: Target.getTargets (id=1) (session_id=) browser {
|
||||
}
|
||||
[1718716172,815][DEBUG]: DevTools WebSocket Response: Target.getTargets (id=1) (session_id=) browser {
|
||||
"targetInfos": [ {
|
||||
"attached": false,
|
||||
"browserContextId": "B04E1209BD0ECBDB30205D20511E174E",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "6E894677BB57FBC13EE1A44C419D67FA",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
} ]
|
||||
}
|
||||
[1718716172,815][DEBUG]: DevTools WebSocket Command: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"flatten": true,
|
||||
"targetId": "6E894677BB57FBC13EE1A44C419D67FA"
|
||||
}
|
||||
[1718716172,816][DEBUG]: DevTools WebSocket Event: Target.attachedToTarget (session_id=) browser {
|
||||
"sessionId": "F23C3B40359ACF7F8BCCBD35CFC7790C",
|
||||
"targetInfo": {
|
||||
"attached": true,
|
||||
"browserContextId": "B04E1209BD0ECBDB30205D20511E174E",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "6E894677BB57FBC13EE1A44C419D67FA",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
},
|
||||
"waitingForDebugger": false
|
||||
}
|
||||
[1718716172,816][DEBUG]: DevTools WebSocket Response: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"sessionId": "F23C3B40359ACF7F8BCCBD35CFC7790C"
|
||||
}
|
||||
[1718716172,816][DEBUG]: DevTools WebSocket Command: Page.enable (id=3) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
}
|
||||
[1718716172,816][DEBUG]: DevTools WebSocket Command: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
"source": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716172,816][DEBUG]: DevTools WebSocket Command: Runtime.evaluate (id=5) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
"expression": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716172,816][DEBUG]: DevTools WebSocket Command: Log.enable (id=6) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
}
|
||||
[1718716172,816][DEBUG]: DevTools WebSocket Command: Target.setAutoAttach (id=7) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
"autoAttach": true,
|
||||
"flatten": true,
|
||||
"waitForDebuggerOnStart": false
|
||||
}
|
||||
[1525650:1525650:0618/150932.869402:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
|
||||
[1718716172,890][DEBUG]: DevTools WebSocket Response: Page.enable (id=3) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
}
|
||||
[1718716172,890][DEBUG]: DevTools WebSocket Response: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
"identifier": "1"
|
||||
}
|
||||
[1718716172,890][DEBUG]: DevTools WebSocket Response: Runtime.evaluate (id=5) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
"result": {
|
||||
"type": "undefined"
|
||||
}
|
||||
}
|
||||
[1718716172,890][DEBUG]: DevTools WebSocket Response: Log.enable (id=6) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
}
|
||||
[1718716172,890][DEBUG]: DevTools WebSocket Response: Target.setAutoAttach (id=7) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
}
|
||||
[1718716172,890][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=8) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
}
|
||||
[1718716172,890][DEBUG]: DevTools WebSocket Event: Page.domContentEventFired (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
"timestamp": 19587.399834
|
||||
}
|
||||
[1718716172,890][DEBUG]: DevTools WebSocket Event: Page.loadEventFired (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
"timestamp": 19587.400179
|
||||
}
|
||||
[1718716172,902][DEBUG]: DevTools WebSocket Event: Page.frameStoppedLoading (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
"frameId": "6E894677BB57FBC13EE1A44C419D67FA"
|
||||
}
|
||||
[1718716172,902][DEBUG]: DevTools WebSocket Event: Page.frameResized (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
}
|
||||
[1718716172,902][DEBUG]: DevTools WebSocket Event: Runtime.executionContextCreated (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
"context": {
|
||||
"auxData": {
|
||||
"frameId": "6E894677BB57FBC13EE1A44C419D67FA",
|
||||
"isDefault": true,
|
||||
"type": "default"
|
||||
},
|
||||
"id": 1,
|
||||
"name": "",
|
||||
"origin": "://",
|
||||
"uniqueId": "1534790065778221208.-4155699682878758912"
|
||||
}
|
||||
}
|
||||
[1718716172,902][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=8) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
}
|
||||
[1718716172,902][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=9) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
}
|
||||
[1718716172,903][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=9) (session_id=F23C3B40359ACF7F8BCCBD35CFC7790C) 6E894677BB57FBC13EE1A44C419D67FA {
|
||||
}
|
||||
[1718716172,903][INFO]: [1991090de61e2cb9dd3b269dc005bdd3] RESPONSE InitSession {
|
||||
"capabilities": {
|
||||
"acceptInsecureCerts": false,
|
||||
"browserName": "chrome",
|
||||
"browserVersion": "126.0.6478.61",
|
||||
"chrome": {
|
||||
"chromedriverVersion": "125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186})",
|
||||
"userDataDir": "/tmp/.org.chromium.Chromium.eOQgtN"
|
||||
},
|
||||
"fedcm:accounts": true,
|
||||
"goog:chromeOptions": {
|
||||
"debuggerAddress": "localhost:33627"
|
||||
},
|
||||
"networkConnectionEnabled": false,
|
||||
"pageLoadStrategy": "normal",
|
||||
"platformName": "linux",
|
||||
"proxy": {
|
||||
},
|
||||
"setWindowRect": true,
|
||||
"strictFileInteractability": false,
|
||||
"timeouts": {
|
||||
"implicit": 0,
|
||||
"pageLoad": 300000,
|
||||
"script": 30000
|
||||
},
|
||||
"unhandledPromptBehavior": "dismiss and notify",
|
||||
"webauthn:extension:credBlob": true,
|
||||
"webauthn:extension:largeBlob": true,
|
||||
"webauthn:extension:minPinLength": true,
|
||||
"webauthn:extension:prf": true,
|
||||
"webauthn:virtualAuthenticators": true
|
||||
},
|
||||
"sessionId": "1991090de61e2cb9dd3b269dc005bdd3"
|
||||
}
|
||||
[1718716172,909][INFO]: [1991090de61e2cb9dd3b269dc005bdd3] COMMAND Quit {
|
||||
}
|
||||
[1718716173,010][INFO]: [1991090de61e2cb9dd3b269dc005bdd3] RESPONSE Quit
|
||||
[1718716173,010][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716173,010][DEBUG]: Log type 'browser' lost 0 entries on destruction
|
||||
|
|
|
|||
|
|
@ -1,23 +1,257 @@
|
|||
Starting ChromeDriver 114.0.5735.90 (386bc09e8f4f2e025eddae123f36f6263096ae49-refs/branch-heads/5735@{#1052}) on port 9515
|
||||
Starting ChromeDriver 125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186}) on port 9515
|
||||
Only local connections are allowed.
|
||||
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
|
||||
ChromeDriver was started successfully.
|
||||
[1691165641,821][INFO]: [83345ad91fc37c9a6988350a117b58b2] COMMAND InitSession {
|
||||
[1718716173,059][INFO]: [6f9c2795cb2b89d39a71eda25591a0e8] COMMAND InitSession {
|
||||
"capabilities": {
|
||||
"alwaysMatch": {
|
||||
"browserName": "chrome",
|
||||
"goog:chromeOptions": {
|
||||
"args": [ "--headless", "--disable-gpu", "--window-size=1280,800", "--no-sandbox", "--disable-dev-shm-usage", "--disable-browser-side-navigation", "--user-agent=NIGHTWATCH" ],
|
||||
"prefs": {
|
||||
"profile.default_content_setting_values.geolocation": 1,
|
||||
"profile.default_content_setting_values.notifications": 2
|
||||
},
|
||||
"w3c": false
|
||||
}
|
||||
},
|
||||
"firstMatch": [ {
|
||||
} ]
|
||||
}
|
||||
}
|
||||
[1691165641,821][INFO]: [83345ad91fc37c9a6988350a117b58b2] RESPONSE InitSession ERROR session not created: Missing or invalid capabilities
|
||||
[1691165641,821][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716173,059][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716173,059][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716173,059][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/google-chrome
|
||||
[1718716173,059][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium
|
||||
[1718716173,059][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium-browser
|
||||
[1718716173,059][INFO]: Browser search. Trying... /usr/local/sbin/chrome
|
||||
[1718716173,059][INFO]: Browser search. Trying... /usr/local/bin/chrome
|
||||
[1718716173,059][INFO]: Browser search. Trying... /usr/sbin/chrome
|
||||
[1718716173,059][INFO]: Browser search. Trying... /usr/bin/chrome
|
||||
[1718716173,059][INFO]: Browser search. Trying... /sbin/chrome
|
||||
[1718716173,059][INFO]: Browser search. Trying... /bin/chrome
|
||||
[1718716173,059][INFO]: Browser search. Trying... /opt/google/chrome/chrome
|
||||
[1718716173,059][INFO]: Browser search. Found at /opt/google/chrome/chrome
|
||||
[1718716173,059][INFO]: Populating Preferences file: {
|
||||
"alternate_error_pages": {
|
||||
"enabled": false
|
||||
},
|
||||
"autofill": {
|
||||
"enabled": false
|
||||
},
|
||||
"browser": {
|
||||
"check_default_browser": false
|
||||
},
|
||||
"distribution": {
|
||||
"import_bookmarks": false,
|
||||
"import_history": false,
|
||||
"import_search_engine": false,
|
||||
"make_chrome_default_for_user": false,
|
||||
"skip_first_run_ui": true
|
||||
},
|
||||
"dns_prefetching": {
|
||||
"enabled": false
|
||||
},
|
||||
"profile": {
|
||||
"content_settings": {
|
||||
"pattern_pairs": {
|
||||
"https://*,*": {
|
||||
"media-stream": {
|
||||
"audio": "Default",
|
||||
"video": "Default"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"default_content_setting_values": {
|
||||
"geolocation": 1
|
||||
},
|
||||
"default_content_settings": {
|
||||
"geolocation": 1,
|
||||
"mouselock": 1,
|
||||
"notifications": 1,
|
||||
"popups": 1,
|
||||
"ppapi-broker": 1
|
||||
},
|
||||
"password_manager_enabled": false
|
||||
},
|
||||
"safebrowsing": {
|
||||
"enabled": false
|
||||
},
|
||||
"search": {
|
||||
"suggest_enabled": false
|
||||
},
|
||||
"translate": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
[1718716173,060][INFO]: Populating Local State file: {
|
||||
"background_mode": {
|
||||
"enabled": false
|
||||
},
|
||||
"ssl": {
|
||||
"rev_checking": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
}
|
||||
[1718716173,060][INFO]: ChromeDriver supports communication with Chrome via pipes. This is more reliable and more secure.
|
||||
[1718716173,060][INFO]: Use the --remote-debugging-pipe Chrome switch instead of the default --remote-debugging-port to enable this communication mode.
|
||||
[1718716173,060][INFO]: Launching chrome: /opt/google/chrome/chrome --allow-pre-commit-input --disable-background-networking --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-automation --enable-logging=stderr --log-level=0 --no-first-run --no-service-autorun --password-store=basic --remote-debugging-port=0 --test-type=webdriver --use-mock-keychain --user-data-dir=/tmp/.org.chromium.Chromium.gkLTpI data:,
|
||||
[0618/150933.085424:WARNING:chrome_main_linux.cc(80)] Read channel stable from /opt/google/chrome/CHROME_VERSION_EXTRA
|
||||
[1525812:1525812:0618/150933.086522:WARNING:chrome_main_delegate.cc(742)] This is Chrome version 126.0.6478.61 (not a warning)
|
||||
[1525812:1525812:0618/150933.282050:INFO:chrome_browser_cloud_management_controller.cc(196)] No machine level policy manager exists.
|
||||
|
||||
DevTools listening on ws://127.0.0.1:43465/devtools/browser/cc106e30-848f-4d7d-a651-b57d983dbebd
|
||||
[1718716173,337][DEBUG]: DevTools HTTP Request: http://localhost:43465/json/version
|
||||
[1525812:1525812:0618/150933.370526:WARNING:browser_management_service.cc(128)] EnterpriseLogoUrl fetch failed with error code -1 and MIME type
|
||||
[1525812:1525812:0618/150933.396112:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
|
||||
[1718716173,532][DEBUG]: DevTools HTTP Response: {
|
||||
"Browser": "Chrome/126.0.6478.61",
|
||||
"Protocol-Version": "1.3",
|
||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
|
||||
"V8-Version": "12.6.228.16",
|
||||
"WebKit-Version": "537.36 (@8dc092df54ce9b93406cb7fec530eb297bc0b332)",
|
||||
"webSocketDebuggerUrl": "ws://localhost:43465/devtools/browser/cc106e30-848f-4d7d-a651-b57d983dbebd"
|
||||
}
|
||||
|
||||
[1718716173,532][WARNING]: This version of ChromeDriver has not been tested with Chrome version 126.
|
||||
[1718716173,532][DEBUG]: DevTools HTTP Request: http://localhost:43465/json/list
|
||||
[1718716173,540][DEBUG]: DevTools HTTP Response: [ {
|
||||
"description": "",
|
||||
"devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:43465/devtools/page/DA27A1AA543C96EC04705491D5F4D0AF",
|
||||
"id": "DA27A1AA543C96EC04705491D5F4D0AF",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,",
|
||||
"webSocketDebuggerUrl": "ws://localhost:43465/devtools/page/DA27A1AA543C96EC04705491D5F4D0AF"
|
||||
} ]
|
||||
|
||||
[1718716173,540][INFO]: resolved localhost to ["127.0.0.1"]
|
||||
[1525812:1525812:0618/150933.540655:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not implemented
|
||||
[1718716173,541][DEBUG]: DevTools WebSocket Command: Target.getTargets (id=1) (session_id=) browser {
|
||||
}
|
||||
[1718716173,542][DEBUG]: DevTools WebSocket Response: Target.getTargets (id=1) (session_id=) browser {
|
||||
"targetInfos": [ {
|
||||
"attached": false,
|
||||
"browserContextId": "C8E48B1855C7A8A8A6EB54BC73F1E018",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "DA27A1AA543C96EC04705491D5F4D0AF",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
} ]
|
||||
}
|
||||
[1718716173,542][DEBUG]: DevTools WebSocket Command: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"flatten": true,
|
||||
"targetId": "DA27A1AA543C96EC04705491D5F4D0AF"
|
||||
}
|
||||
[1718716173,542][DEBUG]: DevTools WebSocket Event: Target.attachedToTarget (session_id=) browser {
|
||||
"sessionId": "0F763F1F7D59C0F2D14B4A8203C5406E",
|
||||
"targetInfo": {
|
||||
"attached": true,
|
||||
"browserContextId": "C8E48B1855C7A8A8A6EB54BC73F1E018",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "DA27A1AA543C96EC04705491D5F4D0AF",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
},
|
||||
"waitingForDebugger": false
|
||||
}
|
||||
[1718716173,542][DEBUG]: DevTools WebSocket Response: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"sessionId": "0F763F1F7D59C0F2D14B4A8203C5406E"
|
||||
}
|
||||
[1718716173,542][DEBUG]: DevTools WebSocket Command: Page.enable (id=3) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
}
|
||||
[1718716173,543][DEBUG]: DevTools WebSocket Command: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
"source": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716173,543][DEBUG]: DevTools WebSocket Command: Runtime.evaluate (id=5) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
"expression": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716173,543][DEBUG]: DevTools WebSocket Command: Log.enable (id=6) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
}
|
||||
[1718716173,543][DEBUG]: DevTools WebSocket Command: Target.setAutoAttach (id=7) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
"autoAttach": true,
|
||||
"flatten": true,
|
||||
"waitForDebuggerOnStart": false
|
||||
}
|
||||
[1525848:1525848:0618/150933.561780:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
|
||||
[1718716173,580][DEBUG]: DevTools WebSocket Response: Page.enable (id=3) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
}
|
||||
[1718716173,580][DEBUG]: DevTools WebSocket Response: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
"identifier": "1"
|
||||
}
|
||||
[1718716173,580][DEBUG]: DevTools WebSocket Response: Runtime.evaluate (id=5) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
"result": {
|
||||
"type": "undefined"
|
||||
}
|
||||
}
|
||||
[1718716173,580][DEBUG]: DevTools WebSocket Response: Log.enable (id=6) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
}
|
||||
[1718716173,580][DEBUG]: DevTools WebSocket Response: Target.setAutoAttach (id=7) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
}
|
||||
[1718716173,580][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=8) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
}
|
||||
[1718716173,581][DEBUG]: DevTools WebSocket Event: Page.domContentEventFired (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
"timestamp": 19588.090512
|
||||
}
|
||||
[1718716173,581][DEBUG]: DevTools WebSocket Event: Page.loadEventFired (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
"timestamp": 19588.090802
|
||||
}
|
||||
[1718716173,592][DEBUG]: DevTools WebSocket Event: Page.frameStoppedLoading (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
"frameId": "DA27A1AA543C96EC04705491D5F4D0AF"
|
||||
}
|
||||
[1718716173,592][DEBUG]: DevTools WebSocket Event: Runtime.executionContextCreated (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
"context": {
|
||||
"auxData": {
|
||||
"frameId": "DA27A1AA543C96EC04705491D5F4D0AF",
|
||||
"isDefault": true,
|
||||
"type": "default"
|
||||
},
|
||||
"id": 1,
|
||||
"name": "",
|
||||
"origin": "://",
|
||||
"uniqueId": "-7823474151597202194.-4479523171212118918"
|
||||
}
|
||||
}
|
||||
[1718716173,592][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=8) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
}
|
||||
[1718716173,592][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=9) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
}
|
||||
[1718716173,592][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=9) (session_id=0F763F1F7D59C0F2D14B4A8203C5406E) DA27A1AA543C96EC04705491D5F4D0AF {
|
||||
}
|
||||
[1718716173,592][INFO]: [6f9c2795cb2b89d39a71eda25591a0e8] RESPONSE InitSession {
|
||||
"capabilities": {
|
||||
"acceptInsecureCerts": false,
|
||||
"browserName": "chrome",
|
||||
"browserVersion": "126.0.6478.61",
|
||||
"chrome": {
|
||||
"chromedriverVersion": "125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186})",
|
||||
"userDataDir": "/tmp/.org.chromium.Chromium.gkLTpI"
|
||||
},
|
||||
"fedcm:accounts": true,
|
||||
"goog:chromeOptions": {
|
||||
"debuggerAddress": "localhost:43465"
|
||||
},
|
||||
"networkConnectionEnabled": false,
|
||||
"pageLoadStrategy": "normal",
|
||||
"platformName": "linux",
|
||||
"proxy": {
|
||||
},
|
||||
"setWindowRect": true,
|
||||
"strictFileInteractability": false,
|
||||
"timeouts": {
|
||||
"implicit": 0,
|
||||
"pageLoad": 300000,
|
||||
"script": 30000
|
||||
},
|
||||
"unhandledPromptBehavior": "dismiss and notify",
|
||||
"webauthn:extension:credBlob": true,
|
||||
"webauthn:extension:largeBlob": true,
|
||||
"webauthn:extension:minPinLength": true,
|
||||
"webauthn:extension:prf": true,
|
||||
"webauthn:virtualAuthenticators": true
|
||||
},
|
||||
"sessionId": "6f9c2795cb2b89d39a71eda25591a0e8"
|
||||
}
|
||||
[1718716173,598][INFO]: [6f9c2795cb2b89d39a71eda25591a0e8] COMMAND Quit {
|
||||
}
|
||||
[1718716173,649][INFO]: [6f9c2795cb2b89d39a71eda25591a0e8] RESPONSE Quit
|
||||
[1718716173,649][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716173,649][DEBUG]: Log type 'browser' lost 0 entries on destruction
|
||||
|
|
|
|||
|
|
@ -1,23 +1,259 @@
|
|||
Starting ChromeDriver 114.0.5735.90 (386bc09e8f4f2e025eddae123f36f6263096ae49-refs/branch-heads/5735@{#1052}) on port 9515
|
||||
Starting ChromeDriver 125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186}) on port 9515
|
||||
Only local connections are allowed.
|
||||
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
|
||||
ChromeDriver was started successfully.
|
||||
[1691165641,904][INFO]: [3fac0890ae5dbf9cbf1f9f4f24873346] COMMAND InitSession {
|
||||
[1718716173,695][INFO]: [3b2ca4f8250e52885116be7d739998be] COMMAND InitSession {
|
||||
"capabilities": {
|
||||
"alwaysMatch": {
|
||||
"browserName": "chrome",
|
||||
"goog:chromeOptions": {
|
||||
"args": [ "--headless", "--disable-gpu", "--window-size=1280,800", "--no-sandbox", "--disable-dev-shm-usage", "--disable-browser-side-navigation", "--user-agent=NIGHTWATCH" ],
|
||||
"prefs": {
|
||||
"profile.default_content_setting_values.geolocation": 1,
|
||||
"profile.default_content_setting_values.notifications": 2
|
||||
},
|
||||
"w3c": false
|
||||
}
|
||||
},
|
||||
"firstMatch": [ {
|
||||
} ]
|
||||
}
|
||||
}
|
||||
[1691165641,905][INFO]: [3fac0890ae5dbf9cbf1f9f4f24873346] RESPONSE InitSession ERROR session not created: Missing or invalid capabilities
|
||||
[1691165641,905][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716173,696][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716173,696][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716173,696][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/google-chrome
|
||||
[1718716173,696][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium
|
||||
[1718716173,696][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium-browser
|
||||
[1718716173,696][INFO]: Browser search. Trying... /usr/local/sbin/chrome
|
||||
[1718716173,696][INFO]: Browser search. Trying... /usr/local/bin/chrome
|
||||
[1718716173,696][INFO]: Browser search. Trying... /usr/sbin/chrome
|
||||
[1718716173,696][INFO]: Browser search. Trying... /usr/bin/chrome
|
||||
[1718716173,696][INFO]: Browser search. Trying... /sbin/chrome
|
||||
[1718716173,696][INFO]: Browser search. Trying... /bin/chrome
|
||||
[1718716173,696][INFO]: Browser search. Trying... /opt/google/chrome/chrome
|
||||
[1718716173,696][INFO]: Browser search. Found at /opt/google/chrome/chrome
|
||||
[1718716173,696][INFO]: Populating Preferences file: {
|
||||
"alternate_error_pages": {
|
||||
"enabled": false
|
||||
},
|
||||
"autofill": {
|
||||
"enabled": false
|
||||
},
|
||||
"browser": {
|
||||
"check_default_browser": false
|
||||
},
|
||||
"distribution": {
|
||||
"import_bookmarks": false,
|
||||
"import_history": false,
|
||||
"import_search_engine": false,
|
||||
"make_chrome_default_for_user": false,
|
||||
"skip_first_run_ui": true
|
||||
},
|
||||
"dns_prefetching": {
|
||||
"enabled": false
|
||||
},
|
||||
"profile": {
|
||||
"content_settings": {
|
||||
"pattern_pairs": {
|
||||
"https://*,*": {
|
||||
"media-stream": {
|
||||
"audio": "Default",
|
||||
"video": "Default"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"default_content_setting_values": {
|
||||
"geolocation": 1
|
||||
},
|
||||
"default_content_settings": {
|
||||
"geolocation": 1,
|
||||
"mouselock": 1,
|
||||
"notifications": 1,
|
||||
"popups": 1,
|
||||
"ppapi-broker": 1
|
||||
},
|
||||
"password_manager_enabled": false
|
||||
},
|
||||
"safebrowsing": {
|
||||
"enabled": false
|
||||
},
|
||||
"search": {
|
||||
"suggest_enabled": false
|
||||
},
|
||||
"translate": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
[1718716173,696][INFO]: Populating Local State file: {
|
||||
"background_mode": {
|
||||
"enabled": false
|
||||
},
|
||||
"ssl": {
|
||||
"rev_checking": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
}
|
||||
[1718716173,696][INFO]: ChromeDriver supports communication with Chrome via pipes. This is more reliable and more secure.
|
||||
[1718716173,696][INFO]: Use the --remote-debugging-pipe Chrome switch instead of the default --remote-debugging-port to enable this communication mode.
|
||||
[1718716173,696][INFO]: Launching chrome: /opt/google/chrome/chrome --allow-pre-commit-input --disable-background-networking --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-automation --enable-logging=stderr --log-level=0 --no-first-run --no-service-autorun --password-store=basic --remote-debugging-port=0 --test-type=webdriver --use-mock-keychain --user-data-dir=/tmp/.org.chromium.Chromium.U9ZBHU data:,
|
||||
[0618/150933.720487:WARNING:chrome_main_linux.cc(80)] Read channel stable from /opt/google/chrome/CHROME_VERSION_EXTRA
|
||||
[1525956:1525956:0618/150933.721596:WARNING:chrome_main_delegate.cc(742)] This is Chrome version 126.0.6478.61 (not a warning)
|
||||
[1525956:1525956:0618/150933.929533:INFO:chrome_browser_cloud_management_controller.cc(196)] No machine level policy manager exists.
|
||||
|
||||
DevTools listening on ws://127.0.0.1:39671/devtools/browser/89a21164-3e61-4f83-9c19-1b171fcd601e
|
||||
[1718716173,976][DEBUG]: DevTools HTTP Request: http://localhost:39671/json/version
|
||||
[1525956:1525956:0618/150934.029949:WARNING:browser_management_service.cc(128)] EnterpriseLogoUrl fetch failed with error code -1 and MIME type
|
||||
[1525956:1525956:0618/150934.049474:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
|
||||
[1718716174,211][DEBUG]: DevTools HTTP Response: {
|
||||
"Browser": "Chrome/126.0.6478.61",
|
||||
"Protocol-Version": "1.3",
|
||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
|
||||
"V8-Version": "12.6.228.16",
|
||||
"WebKit-Version": "537.36 (@8dc092df54ce9b93406cb7fec530eb297bc0b332)",
|
||||
"webSocketDebuggerUrl": "ws://localhost:39671/devtools/browser/89a21164-3e61-4f83-9c19-1b171fcd601e"
|
||||
}
|
||||
|
||||
[1718716174,211][WARNING]: This version of ChromeDriver has not been tested with Chrome version 126.
|
||||
[1718716174,211][DEBUG]: DevTools HTTP Request: http://localhost:39671/json/list
|
||||
[1718716174,219][DEBUG]: DevTools HTTP Response: [ {
|
||||
"description": "",
|
||||
"devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:39671/devtools/page/6BAB9F79C7487250090215E835D9C6C3",
|
||||
"id": "6BAB9F79C7487250090215E835D9C6C3",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,",
|
||||
"webSocketDebuggerUrl": "ws://localhost:39671/devtools/page/6BAB9F79C7487250090215E835D9C6C3"
|
||||
} ]
|
||||
|
||||
[1718716174,219][INFO]: resolved localhost to ["127.0.0.1"]
|
||||
[1525956:1525956:0618/150934.220200:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not implemented
|
||||
[1718716174,221][DEBUG]: DevTools WebSocket Command: Target.getTargets (id=1) (session_id=) browser {
|
||||
}
|
||||
[1718716174,221][DEBUG]: DevTools WebSocket Response: Target.getTargets (id=1) (session_id=) browser {
|
||||
"targetInfos": [ {
|
||||
"attached": false,
|
||||
"browserContextId": "B5972E785635B5AF08CAE323E532FD99",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "6BAB9F79C7487250090215E835D9C6C3",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
} ]
|
||||
}
|
||||
[1718716174,221][DEBUG]: DevTools WebSocket Command: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"flatten": true,
|
||||
"targetId": "6BAB9F79C7487250090215E835D9C6C3"
|
||||
}
|
||||
[1718716174,222][DEBUG]: DevTools WebSocket Event: Target.attachedToTarget (session_id=) browser {
|
||||
"sessionId": "C923C5787C457BF928D0161A6728EA6D",
|
||||
"targetInfo": {
|
||||
"attached": true,
|
||||
"browserContextId": "B5972E785635B5AF08CAE323E532FD99",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "6BAB9F79C7487250090215E835D9C6C3",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
},
|
||||
"waitingForDebugger": false
|
||||
}
|
||||
[1718716174,222][DEBUG]: DevTools WebSocket Response: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"sessionId": "C923C5787C457BF928D0161A6728EA6D"
|
||||
}
|
||||
[1718716174,222][DEBUG]: DevTools WebSocket Command: Page.enable (id=3) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
}
|
||||
[1718716174,222][DEBUG]: DevTools WebSocket Command: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
"source": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716174,223][DEBUG]: DevTools WebSocket Command: Runtime.evaluate (id=5) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
"expression": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716174,223][DEBUG]: DevTools WebSocket Command: Log.enable (id=6) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
}
|
||||
[1718716174,223][DEBUG]: DevTools WebSocket Command: Target.setAutoAttach (id=7) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
"autoAttach": true,
|
||||
"flatten": true,
|
||||
"waitForDebuggerOnStart": false
|
||||
}
|
||||
[1526044:1526044:0618/150934.237982:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
|
||||
[1718716174,258][DEBUG]: DevTools WebSocket Response: Page.enable (id=3) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
}
|
||||
[1718716174,258][DEBUG]: DevTools WebSocket Response: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
"identifier": "1"
|
||||
}
|
||||
[1718716174,258][DEBUG]: DevTools WebSocket Response: Runtime.evaluate (id=5) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
"result": {
|
||||
"type": "undefined"
|
||||
}
|
||||
}
|
||||
[1718716174,258][DEBUG]: DevTools WebSocket Response: Log.enable (id=6) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
}
|
||||
[1718716174,258][DEBUG]: DevTools WebSocket Response: Target.setAutoAttach (id=7) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
}
|
||||
[1718716174,258][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=8) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
}
|
||||
[1718716174,259][DEBUG]: DevTools WebSocket Event: Page.domContentEventFired (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
"timestamp": 19588.768826
|
||||
}
|
||||
[1718716174,259][DEBUG]: DevTools WebSocket Event: Page.loadEventFired (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
"timestamp": 19588.769133
|
||||
}
|
||||
[1718716174,271][DEBUG]: DevTools WebSocket Event: Page.frameStoppedLoading (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
"frameId": "6BAB9F79C7487250090215E835D9C6C3"
|
||||
}
|
||||
[1718716174,271][DEBUG]: DevTools WebSocket Event: Page.frameResized (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
}
|
||||
[1718716174,271][DEBUG]: DevTools WebSocket Event: Runtime.executionContextCreated (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
"context": {
|
||||
"auxData": {
|
||||
"frameId": "6BAB9F79C7487250090215E835D9C6C3",
|
||||
"isDefault": true,
|
||||
"type": "default"
|
||||
},
|
||||
"id": 1,
|
||||
"name": "",
|
||||
"origin": "://",
|
||||
"uniqueId": "-3567765161581716131.-1412020228826275651"
|
||||
}
|
||||
}
|
||||
[1718716174,271][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=8) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
}
|
||||
[1718716174,271][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=9) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
}
|
||||
[1718716174,272][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=9) (session_id=C923C5787C457BF928D0161A6728EA6D) 6BAB9F79C7487250090215E835D9C6C3 {
|
||||
}
|
||||
[1718716174,272][INFO]: [3b2ca4f8250e52885116be7d739998be] RESPONSE InitSession {
|
||||
"capabilities": {
|
||||
"acceptInsecureCerts": false,
|
||||
"browserName": "chrome",
|
||||
"browserVersion": "126.0.6478.61",
|
||||
"chrome": {
|
||||
"chromedriverVersion": "125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186})",
|
||||
"userDataDir": "/tmp/.org.chromium.Chromium.U9ZBHU"
|
||||
},
|
||||
"fedcm:accounts": true,
|
||||
"goog:chromeOptions": {
|
||||
"debuggerAddress": "localhost:39671"
|
||||
},
|
||||
"networkConnectionEnabled": false,
|
||||
"pageLoadStrategy": "normal",
|
||||
"platformName": "linux",
|
||||
"proxy": {
|
||||
},
|
||||
"setWindowRect": true,
|
||||
"strictFileInteractability": false,
|
||||
"timeouts": {
|
||||
"implicit": 0,
|
||||
"pageLoad": 300000,
|
||||
"script": 30000
|
||||
},
|
||||
"unhandledPromptBehavior": "dismiss and notify",
|
||||
"webauthn:extension:credBlob": true,
|
||||
"webauthn:extension:largeBlob": true,
|
||||
"webauthn:extension:minPinLength": true,
|
||||
"webauthn:extension:prf": true,
|
||||
"webauthn:virtualAuthenticators": true
|
||||
},
|
||||
"sessionId": "3b2ca4f8250e52885116be7d739998be"
|
||||
}
|
||||
[1718716174,278][INFO]: [3b2ca4f8250e52885116be7d739998be] COMMAND Quit {
|
||||
}
|
||||
[1718716174,429][INFO]: [3b2ca4f8250e52885116be7d739998be] RESPONSE Quit
|
||||
[1718716174,429][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716174,429][DEBUG]: Log type 'browser' lost 0 entries on destruction
|
||||
|
|
|
|||
|
|
@ -1,23 +1,259 @@
|
|||
Starting ChromeDriver 114.0.5735.90 (386bc09e8f4f2e025eddae123f36f6263096ae49-refs/branch-heads/5735@{#1052}) on port 9515
|
||||
Starting ChromeDriver 125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186}) on port 9515
|
||||
Only local connections are allowed.
|
||||
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
|
||||
ChromeDriver was started successfully.
|
||||
[1691165641,985][INFO]: [8af40aeb31908f990d00c572b5ddbd86] COMMAND InitSession {
|
||||
[1718716174,489][INFO]: [633bc56b8b14316344fcc983cd9a1fe0] COMMAND InitSession {
|
||||
"capabilities": {
|
||||
"alwaysMatch": {
|
||||
"browserName": "chrome",
|
||||
"goog:chromeOptions": {
|
||||
"args": [ "--headless", "--disable-gpu", "--window-size=1280,800", "--no-sandbox", "--disable-dev-shm-usage", "--disable-browser-side-navigation", "--user-agent=NIGHTWATCH" ],
|
||||
"prefs": {
|
||||
"profile.default_content_setting_values.geolocation": 1,
|
||||
"profile.default_content_setting_values.notifications": 2
|
||||
},
|
||||
"w3c": false
|
||||
}
|
||||
},
|
||||
"firstMatch": [ {
|
||||
} ]
|
||||
}
|
||||
}
|
||||
[1691165641,985][INFO]: [8af40aeb31908f990d00c572b5ddbd86] RESPONSE InitSession ERROR session not created: Missing or invalid capabilities
|
||||
[1691165641,985][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716174,489][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716174,489][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716174,489][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/google-chrome
|
||||
[1718716174,489][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium
|
||||
[1718716174,489][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium-browser
|
||||
[1718716174,489][INFO]: Browser search. Trying... /usr/local/sbin/chrome
|
||||
[1718716174,489][INFO]: Browser search. Trying... /usr/local/bin/chrome
|
||||
[1718716174,489][INFO]: Browser search. Trying... /usr/sbin/chrome
|
||||
[1718716174,489][INFO]: Browser search. Trying... /usr/bin/chrome
|
||||
[1718716174,489][INFO]: Browser search. Trying... /sbin/chrome
|
||||
[1718716174,489][INFO]: Browser search. Trying... /bin/chrome
|
||||
[1718716174,489][INFO]: Browser search. Trying... /opt/google/chrome/chrome
|
||||
[1718716174,489][INFO]: Browser search. Found at /opt/google/chrome/chrome
|
||||
[1718716174,490][INFO]: Populating Preferences file: {
|
||||
"alternate_error_pages": {
|
||||
"enabled": false
|
||||
},
|
||||
"autofill": {
|
||||
"enabled": false
|
||||
},
|
||||
"browser": {
|
||||
"check_default_browser": false
|
||||
},
|
||||
"distribution": {
|
||||
"import_bookmarks": false,
|
||||
"import_history": false,
|
||||
"import_search_engine": false,
|
||||
"make_chrome_default_for_user": false,
|
||||
"skip_first_run_ui": true
|
||||
},
|
||||
"dns_prefetching": {
|
||||
"enabled": false
|
||||
},
|
||||
"profile": {
|
||||
"content_settings": {
|
||||
"pattern_pairs": {
|
||||
"https://*,*": {
|
||||
"media-stream": {
|
||||
"audio": "Default",
|
||||
"video": "Default"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"default_content_setting_values": {
|
||||
"geolocation": 1
|
||||
},
|
||||
"default_content_settings": {
|
||||
"geolocation": 1,
|
||||
"mouselock": 1,
|
||||
"notifications": 1,
|
||||
"popups": 1,
|
||||
"ppapi-broker": 1
|
||||
},
|
||||
"password_manager_enabled": false
|
||||
},
|
||||
"safebrowsing": {
|
||||
"enabled": false
|
||||
},
|
||||
"search": {
|
||||
"suggest_enabled": false
|
||||
},
|
||||
"translate": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
[1718716174,490][INFO]: Populating Local State file: {
|
||||
"background_mode": {
|
||||
"enabled": false
|
||||
},
|
||||
"ssl": {
|
||||
"rev_checking": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
}
|
||||
[1718716174,490][INFO]: ChromeDriver supports communication with Chrome via pipes. This is more reliable and more secure.
|
||||
[1718716174,490][INFO]: Use the --remote-debugging-pipe Chrome switch instead of the default --remote-debugging-port to enable this communication mode.
|
||||
[1718716174,490][INFO]: Launching chrome: /opt/google/chrome/chrome --allow-pre-commit-input --disable-background-networking --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-automation --enable-logging=stderr --log-level=0 --no-first-run --no-service-autorun --password-store=basic --remote-debugging-port=0 --test-type=webdriver --use-mock-keychain --user-data-dir=/tmp/.org.chromium.Chromium.cPoofz data:,
|
||||
[0618/150934.518052:WARNING:chrome_main_linux.cc(80)] Read channel stable from /opt/google/chrome/CHROME_VERSION_EXTRA
|
||||
[1526192:1526192:0618/150934.519289:WARNING:chrome_main_delegate.cc(742)] This is Chrome version 126.0.6478.61 (not a warning)
|
||||
[1526192:1526192:0618/150934.715399:INFO:chrome_browser_cloud_management_controller.cc(196)] No machine level policy manager exists.
|
||||
|
||||
DevTools listening on ws://127.0.0.1:37637/devtools/browser/228efd7d-455a-45e6-aaff-63c0f783e726
|
||||
[1718716174,771][DEBUG]: DevTools HTTP Request: http://localhost:37637/json/version
|
||||
[1526192:1526192:0618/150934.815816:WARNING:browser_management_service.cc(128)] EnterpriseLogoUrl fetch failed with error code -1 and MIME type
|
||||
[1526192:1526192:0618/150934.840294:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
|
||||
[1718716174,972][DEBUG]: DevTools HTTP Response: {
|
||||
"Browser": "Chrome/126.0.6478.61",
|
||||
"Protocol-Version": "1.3",
|
||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
|
||||
"V8-Version": "12.6.228.16",
|
||||
"WebKit-Version": "537.36 (@8dc092df54ce9b93406cb7fec530eb297bc0b332)",
|
||||
"webSocketDebuggerUrl": "ws://localhost:37637/devtools/browser/228efd7d-455a-45e6-aaff-63c0f783e726"
|
||||
}
|
||||
|
||||
[1718716174,972][WARNING]: This version of ChromeDriver has not been tested with Chrome version 126.
|
||||
[1718716174,972][DEBUG]: DevTools HTTP Request: http://localhost:37637/json/list
|
||||
[1718716174,979][DEBUG]: DevTools HTTP Response: [ {
|
||||
"description": "",
|
||||
"devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:37637/devtools/page/A114160A020F32C3C7E5F0C7770A2D5B",
|
||||
"id": "A114160A020F32C3C7E5F0C7770A2D5B",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,",
|
||||
"webSocketDebuggerUrl": "ws://localhost:37637/devtools/page/A114160A020F32C3C7E5F0C7770A2D5B"
|
||||
} ]
|
||||
|
||||
[1718716174,980][INFO]: resolved localhost to ["127.0.0.1"]
|
||||
[1526192:1526192:0618/150934.979782:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not implemented
|
||||
[1718716174,980][DEBUG]: DevTools WebSocket Command: Target.getTargets (id=1) (session_id=) browser {
|
||||
}
|
||||
[1718716174,981][DEBUG]: DevTools WebSocket Response: Target.getTargets (id=1) (session_id=) browser {
|
||||
"targetInfos": [ {
|
||||
"attached": false,
|
||||
"browserContextId": "6E55CCCA4542230C365CA1916592BBF3",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "A114160A020F32C3C7E5F0C7770A2D5B",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
} ]
|
||||
}
|
||||
[1718716174,981][DEBUG]: DevTools WebSocket Command: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"flatten": true,
|
||||
"targetId": "A114160A020F32C3C7E5F0C7770A2D5B"
|
||||
}
|
||||
[1718716174,982][DEBUG]: DevTools WebSocket Event: Target.attachedToTarget (session_id=) browser {
|
||||
"sessionId": "A0E1240150E03EE57AF371AFCB302BFA",
|
||||
"targetInfo": {
|
||||
"attached": true,
|
||||
"browserContextId": "6E55CCCA4542230C365CA1916592BBF3",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "A114160A020F32C3C7E5F0C7770A2D5B",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
},
|
||||
"waitingForDebugger": false
|
||||
}
|
||||
[1718716174,982][DEBUG]: DevTools WebSocket Response: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"sessionId": "A0E1240150E03EE57AF371AFCB302BFA"
|
||||
}
|
||||
[1718716174,982][DEBUG]: DevTools WebSocket Command: Page.enable (id=3) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
}
|
||||
[1718716174,982][DEBUG]: DevTools WebSocket Command: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
"source": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716174,982][DEBUG]: DevTools WebSocket Command: Runtime.evaluate (id=5) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
"expression": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716174,982][DEBUG]: DevTools WebSocket Command: Log.enable (id=6) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
}
|
||||
[1718716174,982][DEBUG]: DevTools WebSocket Command: Target.setAutoAttach (id=7) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
"autoAttach": true,
|
||||
"flatten": true,
|
||||
"waitForDebuggerOnStart": false
|
||||
}
|
||||
[1526229:1526229:0618/150935.072067:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
|
||||
[1718716175,090][DEBUG]: DevTools WebSocket Response: Page.enable (id=3) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
}
|
||||
[1718716175,090][DEBUG]: DevTools WebSocket Response: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
"identifier": "1"
|
||||
}
|
||||
[1718716175,090][DEBUG]: DevTools WebSocket Response: Runtime.evaluate (id=5) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
"result": {
|
||||
"type": "undefined"
|
||||
}
|
||||
}
|
||||
[1718716175,090][DEBUG]: DevTools WebSocket Response: Log.enable (id=6) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
}
|
||||
[1718716175,090][DEBUG]: DevTools WebSocket Response: Target.setAutoAttach (id=7) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
}
|
||||
[1718716175,090][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=8) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
}
|
||||
[1718716175,090][DEBUG]: DevTools WebSocket Event: Page.domContentEventFired (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
"timestamp": 19589.598874
|
||||
}
|
||||
[1718716175,090][DEBUG]: DevTools WebSocket Event: Page.loadEventFired (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
"timestamp": 19589.599142
|
||||
}
|
||||
[1718716175,101][DEBUG]: DevTools WebSocket Event: Page.frameStoppedLoading (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
"frameId": "A114160A020F32C3C7E5F0C7770A2D5B"
|
||||
}
|
||||
[1718716175,101][DEBUG]: DevTools WebSocket Event: Page.frameResized (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
}
|
||||
[1718716175,101][DEBUG]: DevTools WebSocket Event: Runtime.executionContextCreated (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
"context": {
|
||||
"auxData": {
|
||||
"frameId": "A114160A020F32C3C7E5F0C7770A2D5B",
|
||||
"isDefault": true,
|
||||
"type": "default"
|
||||
},
|
||||
"id": 1,
|
||||
"name": "",
|
||||
"origin": "://",
|
||||
"uniqueId": "4538483801305195444.-7313630706681807265"
|
||||
}
|
||||
}
|
||||
[1718716175,101][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=8) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
}
|
||||
[1718716175,101][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=9) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
}
|
||||
[1718716175,101][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=9) (session_id=A0E1240150E03EE57AF371AFCB302BFA) A114160A020F32C3C7E5F0C7770A2D5B {
|
||||
}
|
||||
[1718716175,101][INFO]: [633bc56b8b14316344fcc983cd9a1fe0] RESPONSE InitSession {
|
||||
"capabilities": {
|
||||
"acceptInsecureCerts": false,
|
||||
"browserName": "chrome",
|
||||
"browserVersion": "126.0.6478.61",
|
||||
"chrome": {
|
||||
"chromedriverVersion": "125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186})",
|
||||
"userDataDir": "/tmp/.org.chromium.Chromium.cPoofz"
|
||||
},
|
||||
"fedcm:accounts": true,
|
||||
"goog:chromeOptions": {
|
||||
"debuggerAddress": "localhost:37637"
|
||||
},
|
||||
"networkConnectionEnabled": false,
|
||||
"pageLoadStrategy": "normal",
|
||||
"platformName": "linux",
|
||||
"proxy": {
|
||||
},
|
||||
"setWindowRect": true,
|
||||
"strictFileInteractability": false,
|
||||
"timeouts": {
|
||||
"implicit": 0,
|
||||
"pageLoad": 300000,
|
||||
"script": 30000
|
||||
},
|
||||
"unhandledPromptBehavior": "dismiss and notify",
|
||||
"webauthn:extension:credBlob": true,
|
||||
"webauthn:extension:largeBlob": true,
|
||||
"webauthn:extension:minPinLength": true,
|
||||
"webauthn:extension:prf": true,
|
||||
"webauthn:virtualAuthenticators": true
|
||||
},
|
||||
"sessionId": "633bc56b8b14316344fcc983cd9a1fe0"
|
||||
}
|
||||
[1718716175,107][INFO]: [633bc56b8b14316344fcc983cd9a1fe0] COMMAND Quit {
|
||||
}
|
||||
[1718716175,258][INFO]: [633bc56b8b14316344fcc983cd9a1fe0] RESPONSE Quit
|
||||
[1718716175,258][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716175,258][DEBUG]: Log type 'browser' lost 0 entries on destruction
|
||||
|
|
|
|||
|
|
@ -1,23 +1,259 @@
|
|||
Starting ChromeDriver 114.0.5735.90 (386bc09e8f4f2e025eddae123f36f6263096ae49-refs/branch-heads/5735@{#1052}) on port 9515
|
||||
Starting ChromeDriver 125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186}) on port 9515
|
||||
Only local connections are allowed.
|
||||
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
|
||||
ChromeDriver was started successfully.
|
||||
[1691165642,064][INFO]: [99197ee658dfc5dceca614db32bf45f9] COMMAND InitSession {
|
||||
[1718716175,306][INFO]: [6f671b9465afc3a8d62fd50eb86193f6] COMMAND InitSession {
|
||||
"capabilities": {
|
||||
"alwaysMatch": {
|
||||
"browserName": "chrome",
|
||||
"goog:chromeOptions": {
|
||||
"args": [ "--headless", "--disable-gpu", "--window-size=1280,800", "--no-sandbox", "--disable-dev-shm-usage", "--disable-browser-side-navigation", "--user-agent=NIGHTWATCH" ],
|
||||
"prefs": {
|
||||
"profile.default_content_setting_values.geolocation": 1,
|
||||
"profile.default_content_setting_values.notifications": 2
|
||||
},
|
||||
"w3c": false
|
||||
}
|
||||
},
|
||||
"firstMatch": [ {
|
||||
} ]
|
||||
}
|
||||
}
|
||||
[1691165642,064][INFO]: [99197ee658dfc5dceca614db32bf45f9] RESPONSE InitSession ERROR session not created: Missing or invalid capabilities
|
||||
[1691165642,065][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716175,306][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716175,306][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716175,306][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/google-chrome
|
||||
[1718716175,306][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium
|
||||
[1718716175,306][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium-browser
|
||||
[1718716175,306][INFO]: Browser search. Trying... /usr/local/sbin/chrome
|
||||
[1718716175,306][INFO]: Browser search. Trying... /usr/local/bin/chrome
|
||||
[1718716175,306][INFO]: Browser search. Trying... /usr/sbin/chrome
|
||||
[1718716175,306][INFO]: Browser search. Trying... /usr/bin/chrome
|
||||
[1718716175,306][INFO]: Browser search. Trying... /sbin/chrome
|
||||
[1718716175,306][INFO]: Browser search. Trying... /bin/chrome
|
||||
[1718716175,306][INFO]: Browser search. Trying... /opt/google/chrome/chrome
|
||||
[1718716175,306][INFO]: Browser search. Found at /opt/google/chrome/chrome
|
||||
[1718716175,306][INFO]: Populating Preferences file: {
|
||||
"alternate_error_pages": {
|
||||
"enabled": false
|
||||
},
|
||||
"autofill": {
|
||||
"enabled": false
|
||||
},
|
||||
"browser": {
|
||||
"check_default_browser": false
|
||||
},
|
||||
"distribution": {
|
||||
"import_bookmarks": false,
|
||||
"import_history": false,
|
||||
"import_search_engine": false,
|
||||
"make_chrome_default_for_user": false,
|
||||
"skip_first_run_ui": true
|
||||
},
|
||||
"dns_prefetching": {
|
||||
"enabled": false
|
||||
},
|
||||
"profile": {
|
||||
"content_settings": {
|
||||
"pattern_pairs": {
|
||||
"https://*,*": {
|
||||
"media-stream": {
|
||||
"audio": "Default",
|
||||
"video": "Default"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"default_content_setting_values": {
|
||||
"geolocation": 1
|
||||
},
|
||||
"default_content_settings": {
|
||||
"geolocation": 1,
|
||||
"mouselock": 1,
|
||||
"notifications": 1,
|
||||
"popups": 1,
|
||||
"ppapi-broker": 1
|
||||
},
|
||||
"password_manager_enabled": false
|
||||
},
|
||||
"safebrowsing": {
|
||||
"enabled": false
|
||||
},
|
||||
"search": {
|
||||
"suggest_enabled": false
|
||||
},
|
||||
"translate": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
[1718716175,306][INFO]: Populating Local State file: {
|
||||
"background_mode": {
|
||||
"enabled": false
|
||||
},
|
||||
"ssl": {
|
||||
"rev_checking": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
}
|
||||
[1718716175,306][INFO]: ChromeDriver supports communication with Chrome via pipes. This is more reliable and more secure.
|
||||
[1718716175,306][INFO]: Use the --remote-debugging-pipe Chrome switch instead of the default --remote-debugging-port to enable this communication mode.
|
||||
[1718716175,306][INFO]: Launching chrome: /opt/google/chrome/chrome --allow-pre-commit-input --disable-background-networking --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-automation --enable-logging=stderr --log-level=0 --no-first-run --no-service-autorun --password-store=basic --remote-debugging-port=0 --test-type=webdriver --use-mock-keychain --user-data-dir=/tmp/.org.chromium.Chromium.AeUoxa data:,
|
||||
[0618/150935.332172:WARNING:chrome_main_linux.cc(80)] Read channel stable from /opt/google/chrome/CHROME_VERSION_EXTRA
|
||||
[1526373:1526373:0618/150935.333298:WARNING:chrome_main_delegate.cc(742)] This is Chrome version 126.0.6478.61 (not a warning)
|
||||
[1526373:1526373:0618/150935.535906:INFO:chrome_browser_cloud_management_controller.cc(196)] No machine level policy manager exists.
|
||||
|
||||
DevTools listening on ws://127.0.0.1:36869/devtools/browser/49a4a852-94a6-4504-bf8f-ccf08ef78114
|
||||
[1718716175,585][DEBUG]: DevTools HTTP Request: http://localhost:36869/json/version
|
||||
[1526373:1526373:0618/150935.619928:WARNING:browser_management_service.cc(128)] EnterpriseLogoUrl fetch failed with error code -1 and MIME type
|
||||
[1526373:1526373:0618/150935.641906:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
|
||||
[1718716175,762][DEBUG]: DevTools HTTP Response: {
|
||||
"Browser": "Chrome/126.0.6478.61",
|
||||
"Protocol-Version": "1.3",
|
||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
|
||||
"V8-Version": "12.6.228.16",
|
||||
"WebKit-Version": "537.36 (@8dc092df54ce9b93406cb7fec530eb297bc0b332)",
|
||||
"webSocketDebuggerUrl": "ws://localhost:36869/devtools/browser/49a4a852-94a6-4504-bf8f-ccf08ef78114"
|
||||
}
|
||||
|
||||
[1718716175,762][WARNING]: This version of ChromeDriver has not been tested with Chrome version 126.
|
||||
[1718716175,762][DEBUG]: DevTools HTTP Request: http://localhost:36869/json/list
|
||||
[1718716175,769][DEBUG]: DevTools HTTP Response: [ {
|
||||
"description": "",
|
||||
"devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:36869/devtools/page/DBCEA49D07DB8664995D503762248394",
|
||||
"id": "DBCEA49D07DB8664995D503762248394",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,",
|
||||
"webSocketDebuggerUrl": "ws://localhost:36869/devtools/page/DBCEA49D07DB8664995D503762248394"
|
||||
} ]
|
||||
|
||||
[1718716175,770][INFO]: resolved localhost to ["127.0.0.1"]
|
||||
[1526373:1526373:0618/150935.771778:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not implemented
|
||||
[1718716175,773][DEBUG]: DevTools WebSocket Command: Target.getTargets (id=1) (session_id=) browser {
|
||||
}
|
||||
[1718716175,774][DEBUG]: DevTools WebSocket Response: Target.getTargets (id=1) (session_id=) browser {
|
||||
"targetInfos": [ {
|
||||
"attached": false,
|
||||
"browserContextId": "5CAEF411DA3606FBAF4DE01A48152A00",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "DBCEA49D07DB8664995D503762248394",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
} ]
|
||||
}
|
||||
[1718716175,774][DEBUG]: DevTools WebSocket Command: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"flatten": true,
|
||||
"targetId": "DBCEA49D07DB8664995D503762248394"
|
||||
}
|
||||
[1718716175,775][DEBUG]: DevTools WebSocket Event: Target.attachedToTarget (session_id=) browser {
|
||||
"sessionId": "409E6C021C90A724D6B2E9D765767465",
|
||||
"targetInfo": {
|
||||
"attached": true,
|
||||
"browserContextId": "5CAEF411DA3606FBAF4DE01A48152A00",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "DBCEA49D07DB8664995D503762248394",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
},
|
||||
"waitingForDebugger": false
|
||||
}
|
||||
[1718716175,775][DEBUG]: DevTools WebSocket Response: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"sessionId": "409E6C021C90A724D6B2E9D765767465"
|
||||
}
|
||||
[1718716175,775][DEBUG]: DevTools WebSocket Command: Page.enable (id=3) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
}
|
||||
[1718716175,775][DEBUG]: DevTools WebSocket Command: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
"source": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716175,775][DEBUG]: DevTools WebSocket Command: Runtime.evaluate (id=5) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
"expression": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716175,775][DEBUG]: DevTools WebSocket Command: Log.enable (id=6) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
}
|
||||
[1718716175,775][DEBUG]: DevTools WebSocket Command: Target.setAutoAttach (id=7) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
"autoAttach": true,
|
||||
"flatten": true,
|
||||
"waitForDebuggerOnStart": false
|
||||
}
|
||||
[1526409:1526409:0618/150935.817694:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
|
||||
[1718716175,835][DEBUG]: DevTools WebSocket Response: Page.enable (id=3) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
}
|
||||
[1718716175,835][DEBUG]: DevTools WebSocket Response: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
"identifier": "1"
|
||||
}
|
||||
[1718716175,835][DEBUG]: DevTools WebSocket Response: Runtime.evaluate (id=5) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
"result": {
|
||||
"type": "undefined"
|
||||
}
|
||||
}
|
||||
[1718716175,835][DEBUG]: DevTools WebSocket Response: Log.enable (id=6) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
}
|
||||
[1718716175,835][DEBUG]: DevTools WebSocket Response: Target.setAutoAttach (id=7) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
}
|
||||
[1718716175,835][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=8) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
}
|
||||
[1718716175,835][DEBUG]: DevTools WebSocket Event: Page.domContentEventFired (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
"timestamp": 19590.34436
|
||||
}
|
||||
[1718716175,835][DEBUG]: DevTools WebSocket Event: Page.loadEventFired (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
"timestamp": 19590.344619
|
||||
}
|
||||
[1718716175,845][DEBUG]: DevTools WebSocket Event: Page.frameStoppedLoading (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
"frameId": "DBCEA49D07DB8664995D503762248394"
|
||||
}
|
||||
[1718716175,845][DEBUG]: DevTools WebSocket Event: Page.frameResized (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
}
|
||||
[1718716175,845][DEBUG]: DevTools WebSocket Event: Runtime.executionContextCreated (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
"context": {
|
||||
"auxData": {
|
||||
"frameId": "DBCEA49D07DB8664995D503762248394",
|
||||
"isDefault": true,
|
||||
"type": "default"
|
||||
},
|
||||
"id": 1,
|
||||
"name": "",
|
||||
"origin": "://",
|
||||
"uniqueId": "1790053294788067605.1681443523551871968"
|
||||
}
|
||||
}
|
||||
[1718716175,845][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=8) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
}
|
||||
[1718716175,845][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=9) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
}
|
||||
[1718716175,846][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=9) (session_id=409E6C021C90A724D6B2E9D765767465) DBCEA49D07DB8664995D503762248394 {
|
||||
}
|
||||
[1718716175,846][INFO]: [6f671b9465afc3a8d62fd50eb86193f6] RESPONSE InitSession {
|
||||
"capabilities": {
|
||||
"acceptInsecureCerts": false,
|
||||
"browserName": "chrome",
|
||||
"browserVersion": "126.0.6478.61",
|
||||
"chrome": {
|
||||
"chromedriverVersion": "125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186})",
|
||||
"userDataDir": "/tmp/.org.chromium.Chromium.AeUoxa"
|
||||
},
|
||||
"fedcm:accounts": true,
|
||||
"goog:chromeOptions": {
|
||||
"debuggerAddress": "localhost:36869"
|
||||
},
|
||||
"networkConnectionEnabled": false,
|
||||
"pageLoadStrategy": "normal",
|
||||
"platformName": "linux",
|
||||
"proxy": {
|
||||
},
|
||||
"setWindowRect": true,
|
||||
"strictFileInteractability": false,
|
||||
"timeouts": {
|
||||
"implicit": 0,
|
||||
"pageLoad": 300000,
|
||||
"script": 30000
|
||||
},
|
||||
"unhandledPromptBehavior": "dismiss and notify",
|
||||
"webauthn:extension:credBlob": true,
|
||||
"webauthn:extension:largeBlob": true,
|
||||
"webauthn:extension:minPinLength": true,
|
||||
"webauthn:extension:prf": true,
|
||||
"webauthn:virtualAuthenticators": true
|
||||
},
|
||||
"sessionId": "6f671b9465afc3a8d62fd50eb86193f6"
|
||||
}
|
||||
[1718716175,851][INFO]: [6f671b9465afc3a8d62fd50eb86193f6] COMMAND Quit {
|
||||
}
|
||||
[1718716175,952][INFO]: [6f671b9465afc3a8d62fd50eb86193f6] RESPONSE Quit
|
||||
[1718716175,952][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716175,952][DEBUG]: Log type 'browser' lost 0 entries on destruction
|
||||
|
|
|
|||
|
|
@ -1,23 +1,259 @@
|
|||
Starting ChromeDriver 114.0.5735.90 (386bc09e8f4f2e025eddae123f36f6263096ae49-refs/branch-heads/5735@{#1052}) on port 9515
|
||||
Starting ChromeDriver 125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186}) on port 9515
|
||||
Only local connections are allowed.
|
||||
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
|
||||
ChromeDriver was started successfully.
|
||||
[1691165642,138][INFO]: [9b4159625a17e8b402ef81f0cafce380] COMMAND InitSession {
|
||||
[1718716176,000][INFO]: [1b0107bdfc2d4c306051e3a26c9e4e49] COMMAND InitSession {
|
||||
"capabilities": {
|
||||
"alwaysMatch": {
|
||||
"browserName": "chrome",
|
||||
"goog:chromeOptions": {
|
||||
"args": [ "--headless", "--disable-gpu", "--window-size=1280,800", "--no-sandbox", "--disable-dev-shm-usage", "--disable-browser-side-navigation", "--user-agent=NIGHTWATCH" ],
|
||||
"prefs": {
|
||||
"profile.default_content_setting_values.geolocation": 1,
|
||||
"profile.default_content_setting_values.notifications": 2
|
||||
},
|
||||
"w3c": false
|
||||
}
|
||||
},
|
||||
"firstMatch": [ {
|
||||
} ]
|
||||
}
|
||||
}
|
||||
[1691165642,139][INFO]: [9b4159625a17e8b402ef81f0cafce380] RESPONSE InitSession ERROR session not created: Missing or invalid capabilities
|
||||
[1691165642,139][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716176,001][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716176,001][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chrome
|
||||
[1718716176,001][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/google-chrome
|
||||
[1718716176,001][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium
|
||||
[1718716176,001][INFO]: Browser search. Trying... /home/johannes/www/super-productivity/node_modules/chromedriver/lib/chromedriver/chromium-browser
|
||||
[1718716176,001][INFO]: Browser search. Trying... /usr/local/sbin/chrome
|
||||
[1718716176,001][INFO]: Browser search. Trying... /usr/local/bin/chrome
|
||||
[1718716176,001][INFO]: Browser search. Trying... /usr/sbin/chrome
|
||||
[1718716176,001][INFO]: Browser search. Trying... /usr/bin/chrome
|
||||
[1718716176,001][INFO]: Browser search. Trying... /sbin/chrome
|
||||
[1718716176,001][INFO]: Browser search. Trying... /bin/chrome
|
||||
[1718716176,001][INFO]: Browser search. Trying... /opt/google/chrome/chrome
|
||||
[1718716176,001][INFO]: Browser search. Found at /opt/google/chrome/chrome
|
||||
[1718716176,001][INFO]: Populating Preferences file: {
|
||||
"alternate_error_pages": {
|
||||
"enabled": false
|
||||
},
|
||||
"autofill": {
|
||||
"enabled": false
|
||||
},
|
||||
"browser": {
|
||||
"check_default_browser": false
|
||||
},
|
||||
"distribution": {
|
||||
"import_bookmarks": false,
|
||||
"import_history": false,
|
||||
"import_search_engine": false,
|
||||
"make_chrome_default_for_user": false,
|
||||
"skip_first_run_ui": true
|
||||
},
|
||||
"dns_prefetching": {
|
||||
"enabled": false
|
||||
},
|
||||
"profile": {
|
||||
"content_settings": {
|
||||
"pattern_pairs": {
|
||||
"https://*,*": {
|
||||
"media-stream": {
|
||||
"audio": "Default",
|
||||
"video": "Default"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"default_content_setting_values": {
|
||||
"geolocation": 1
|
||||
},
|
||||
"default_content_settings": {
|
||||
"geolocation": 1,
|
||||
"mouselock": 1,
|
||||
"notifications": 1,
|
||||
"popups": 1,
|
||||
"ppapi-broker": 1
|
||||
},
|
||||
"password_manager_enabled": false
|
||||
},
|
||||
"safebrowsing": {
|
||||
"enabled": false
|
||||
},
|
||||
"search": {
|
||||
"suggest_enabled": false
|
||||
},
|
||||
"translate": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
[1718716176,001][INFO]: Populating Local State file: {
|
||||
"background_mode": {
|
||||
"enabled": false
|
||||
},
|
||||
"ssl": {
|
||||
"rev_checking": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
}
|
||||
[1718716176,003][INFO]: ChromeDriver supports communication with Chrome via pipes. This is more reliable and more secure.
|
||||
[1718716176,003][INFO]: Use the --remote-debugging-pipe Chrome switch instead of the default --remote-debugging-port to enable this communication mode.
|
||||
[1718716176,003][INFO]: Launching chrome: /opt/google/chrome/chrome --allow-pre-commit-input --disable-background-networking --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --enable-automation --enable-logging=stderr --log-level=0 --no-first-run --no-service-autorun --password-store=basic --remote-debugging-port=0 --test-type=webdriver --use-mock-keychain --user-data-dir=/tmp/.org.chromium.Chromium.m72jcZ data:,
|
||||
[0618/150936.034470:WARNING:chrome_main_linux.cc(80)] Read channel stable from /opt/google/chrome/CHROME_VERSION_EXTRA
|
||||
[1526551:1526551:0618/150936.035846:WARNING:chrome_main_delegate.cc(742)] This is Chrome version 126.0.6478.61 (not a warning)
|
||||
[1526551:1526551:0618/150936.261438:INFO:chrome_browser_cloud_management_controller.cc(196)] No machine level policy manager exists.
|
||||
|
||||
DevTools listening on ws://127.0.0.1:36435/devtools/browser/5b8455ed-3d95-4561-9365-fbf2c3e0c338
|
||||
[1718716176,286][DEBUG]: DevTools HTTP Request: http://localhost:36435/json/version
|
||||
[1526551:1526551:0618/150936.375334:WARNING:browser_management_service.cc(128)] EnterpriseLogoUrl fetch failed with error code -1 and MIME type
|
||||
[1526551:1526551:0618/150936.406490:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
|
||||
[1718716176,529][DEBUG]: DevTools HTTP Response: {
|
||||
"Browser": "Chrome/126.0.6478.61",
|
||||
"Protocol-Version": "1.3",
|
||||
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
|
||||
"V8-Version": "12.6.228.16",
|
||||
"WebKit-Version": "537.36 (@8dc092df54ce9b93406cb7fec530eb297bc0b332)",
|
||||
"webSocketDebuggerUrl": "ws://localhost:36435/devtools/browser/5b8455ed-3d95-4561-9365-fbf2c3e0c338"
|
||||
}
|
||||
|
||||
[1718716176,529][WARNING]: This version of ChromeDriver has not been tested with Chrome version 126.
|
||||
[1718716176,529][DEBUG]: DevTools HTTP Request: http://localhost:36435/json/list
|
||||
[1718716176,537][DEBUG]: DevTools HTTP Response: [ {
|
||||
"description": "",
|
||||
"devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:36435/devtools/page/4C78BA0CB8A4B9FB68DF77DE0793C889",
|
||||
"id": "4C78BA0CB8A4B9FB68DF77DE0793C889",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,",
|
||||
"webSocketDebuggerUrl": "ws://localhost:36435/devtools/page/4C78BA0CB8A4B9FB68DF77DE0793C889"
|
||||
} ]
|
||||
|
||||
[1718716176,538][INFO]: resolved localhost to ["127.0.0.1"]
|
||||
[1526551:1526551:0618/150936.564434:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not implemented
|
||||
[1718716176,565][DEBUG]: DevTools WebSocket Command: Target.getTargets (id=1) (session_id=) browser {
|
||||
}
|
||||
[1718716176,566][DEBUG]: DevTools WebSocket Response: Target.getTargets (id=1) (session_id=) browser {
|
||||
"targetInfos": [ {
|
||||
"attached": false,
|
||||
"browserContextId": "573F92D34083FEC04E47FCC80C76432C",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "4C78BA0CB8A4B9FB68DF77DE0793C889",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
} ]
|
||||
}
|
||||
[1718716176,566][DEBUG]: DevTools WebSocket Command: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"flatten": true,
|
||||
"targetId": "4C78BA0CB8A4B9FB68DF77DE0793C889"
|
||||
}
|
||||
[1718716176,567][DEBUG]: DevTools WebSocket Event: Target.attachedToTarget (session_id=) browser {
|
||||
"sessionId": "A725487EB996670DD6F30001DE7188AC",
|
||||
"targetInfo": {
|
||||
"attached": true,
|
||||
"browserContextId": "573F92D34083FEC04E47FCC80C76432C",
|
||||
"canAccessOpener": false,
|
||||
"targetId": "4C78BA0CB8A4B9FB68DF77DE0793C889",
|
||||
"title": "",
|
||||
"type": "page",
|
||||
"url": "data:,"
|
||||
},
|
||||
"waitingForDebugger": false
|
||||
}
|
||||
[1718716176,567][DEBUG]: DevTools WebSocket Response: Target.attachToTarget (id=2) (session_id=) browser {
|
||||
"sessionId": "A725487EB996670DD6F30001DE7188AC"
|
||||
}
|
||||
[1718716176,567][DEBUG]: DevTools WebSocket Command: Page.enable (id=3) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
}
|
||||
[1718716176,567][DEBUG]: DevTools WebSocket Command: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
"source": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716176,567][DEBUG]: DevTools WebSocket Command: Runtime.evaluate (id=5) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
"expression": "(function () {window.cdc_adoQpoasnfa76pfcZLmcfl_Array = window.Array;window.cdc_adoQpoasnfa76pfcZLmcfl_Object = window.Object;window.cdc_adoQpoasnfa76pfcZLmcfl_Promise = window.Promise;window.cdc_a..."
|
||||
}
|
||||
[1718716176,567][DEBUG]: DevTools WebSocket Command: Log.enable (id=6) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
}
|
||||
[1718716176,567][DEBUG]: DevTools WebSocket Command: Target.setAutoAttach (id=7) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
"autoAttach": true,
|
||||
"flatten": true,
|
||||
"waitForDebuggerOnStart": false
|
||||
}
|
||||
[1526602:1526602:0618/150936.585914:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
|
||||
[1718716176,605][DEBUG]: DevTools WebSocket Response: Page.enable (id=3) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
}
|
||||
[1718716176,605][DEBUG]: DevTools WebSocket Response: Page.addScriptToEvaluateOnNewDocument (id=4) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
"identifier": "1"
|
||||
}
|
||||
[1718716176,605][DEBUG]: DevTools WebSocket Response: Runtime.evaluate (id=5) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
"result": {
|
||||
"type": "undefined"
|
||||
}
|
||||
}
|
||||
[1718716176,605][DEBUG]: DevTools WebSocket Response: Log.enable (id=6) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
}
|
||||
[1718716176,605][DEBUG]: DevTools WebSocket Response: Target.setAutoAttach (id=7) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
}
|
||||
[1718716176,605][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=8) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
}
|
||||
[1718716176,606][DEBUG]: DevTools WebSocket Event: Page.domContentEventFired (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
"timestamp": 19591.115134
|
||||
}
|
||||
[1718716176,606][DEBUG]: DevTools WebSocket Event: Page.loadEventFired (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
"timestamp": 19591.115452
|
||||
}
|
||||
[1718716176,615][DEBUG]: DevTools WebSocket Event: Page.frameStoppedLoading (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
"frameId": "4C78BA0CB8A4B9FB68DF77DE0793C889"
|
||||
}
|
||||
[1718716176,615][DEBUG]: DevTools WebSocket Event: Page.frameResized (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
}
|
||||
[1718716176,615][DEBUG]: DevTools WebSocket Event: Runtime.executionContextCreated (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
"context": {
|
||||
"auxData": {
|
||||
"frameId": "4C78BA0CB8A4B9FB68DF77DE0793C889",
|
||||
"isDefault": true,
|
||||
"type": "default"
|
||||
},
|
||||
"id": 1,
|
||||
"name": "",
|
||||
"origin": "://",
|
||||
"uniqueId": "6785146102458017940.-4454275675726009954"
|
||||
}
|
||||
}
|
||||
[1718716176,615][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=8) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
}
|
||||
[1718716176,615][DEBUG]: DevTools WebSocket Command: Runtime.enable (id=9) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
}
|
||||
[1718716176,616][DEBUG]: DevTools WebSocket Response: Runtime.enable (id=9) (session_id=A725487EB996670DD6F30001DE7188AC) 4C78BA0CB8A4B9FB68DF77DE0793C889 {
|
||||
}
|
||||
[1718716176,616][INFO]: [1b0107bdfc2d4c306051e3a26c9e4e49] RESPONSE InitSession {
|
||||
"capabilities": {
|
||||
"acceptInsecureCerts": false,
|
||||
"browserName": "chrome",
|
||||
"browserVersion": "126.0.6478.61",
|
||||
"chrome": {
|
||||
"chromedriverVersion": "125.0.6422.141 (4b1e83937122185343ba92e909b021f307c719ca-refs/branch-heads/6422@{#1186})",
|
||||
"userDataDir": "/tmp/.org.chromium.Chromium.m72jcZ"
|
||||
},
|
||||
"fedcm:accounts": true,
|
||||
"goog:chromeOptions": {
|
||||
"debuggerAddress": "localhost:36435"
|
||||
},
|
||||
"networkConnectionEnabled": false,
|
||||
"pageLoadStrategy": "normal",
|
||||
"platformName": "linux",
|
||||
"proxy": {
|
||||
},
|
||||
"setWindowRect": true,
|
||||
"strictFileInteractability": false,
|
||||
"timeouts": {
|
||||
"implicit": 0,
|
||||
"pageLoad": 300000,
|
||||
"script": 30000
|
||||
},
|
||||
"unhandledPromptBehavior": "dismiss and notify",
|
||||
"webauthn:extension:credBlob": true,
|
||||
"webauthn:extension:largeBlob": true,
|
||||
"webauthn:extension:minPinLength": true,
|
||||
"webauthn:extension:prf": true,
|
||||
"webauthn:virtualAuthenticators": true
|
||||
},
|
||||
"sessionId": "1b0107bdfc2d4c306051e3a26c9e4e49"
|
||||
}
|
||||
[1718716176,620][INFO]: [1b0107bdfc2d4c306051e3a26c9e4e49] COMMAND Quit {
|
||||
}
|
||||
[1718716176,721][INFO]: [1b0107bdfc2d4c306051e3a26c9e4e49] RESPONSE Quit
|
||||
[1718716176,721][DEBUG]: Log type 'driver' lost 1 entries on destruction
|
||||
[1718716176,721][DEBUG]: Log type 'browser' lost 0 entries on destruction
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
6856
package-lock.json
generated
6856
package-lock.json
generated
File diff suppressed because it is too large
Load diff
13
package.json
13
package.json
|
|
@ -158,8 +158,7 @@
|
|||
"@types/jasmine": "^3.10.2",
|
||||
"@types/jasminewd2": "~2.0.13",
|
||||
"@types/lz-string": "^1.5.0",
|
||||
"@types/moment-duration-format": "^2.2.2",
|
||||
"@types/nightwatch": "^1.3.3",
|
||||
"@types/moment-duration-format": "^2.2.6",
|
||||
"@types/node": "20.12.4",
|
||||
"@types/node-fetch": "^2.6.6",
|
||||
"@types/object-path": "^0.11.4",
|
||||
|
|
@ -167,6 +166,7 @@
|
|||
"@typescript-eslint/parser": "7.13.1",
|
||||
"angular-material-css-vars": "^7.0.0",
|
||||
"axios": "^1.6.0",
|
||||
"chai": "^5.1.1",
|
||||
"chart.js": "^4.4.3",
|
||||
"chromedriver": "^125.0.3",
|
||||
"chrono-node": "^2.6.2",
|
||||
|
|
@ -212,7 +212,7 @@
|
|||
"ng2-dragula": "^5.1.0",
|
||||
"ngx-date-time-picker-schedule": "^9.4.17",
|
||||
"ngx-markdown": "^18.0.0",
|
||||
"nightwatch": "^1.7.13",
|
||||
"nightwatch": "^3.6.3",
|
||||
"object-path": "^0.11.8",
|
||||
"p-throttle": "^3.1.0",
|
||||
"prettier": "^3.3.2",
|
||||
|
|
@ -231,5 +231,12 @@
|
|||
},
|
||||
"resolutions": {
|
||||
"sass": "1.32.6"
|
||||
},
|
||||
"overrides": {
|
||||
"ng2-dragula": {
|
||||
"@angular/common": "$@angular/common",
|
||||
"@angular/core": "$@angular/core",
|
||||
"@angular/animations": "$@angular/animations"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// this file is automatically generated by git.version.ts script
|
||||
export const versions = {
|
||||
version: '8.0.7',
|
||||
version: '8.0.9',
|
||||
revision: 'NO_REV',
|
||||
branch: 'NO_BRANCH',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
"target": "ES2022",
|
||||
"resolveJsonModule": true,
|
||||
"typeRoots": ["node_modules/@types"],
|
||||
"types": ["@types/moment-duration-format"],
|
||||
"lib": ["es2022", "dom"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue