Skip to content

Commit

Permalink
test: I am learning how to use GIT
Browse files Browse the repository at this point in the history
  • Loading branch information
alicechaitea committed Jan 31, 2024
1 parent 8f2478b commit ff4281b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions wallet-automation/typhon/typhon-wallet-logout.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ import { getSeedPhrase } from './seed-phrase';

test('Logout', async ({ }) => {
const extensionPath: string = '../../wallet-automation/typhon/extensions';
// const extensionId: string = 'kfdniefadaanbjodldohaedphafoffoh'; // Replace with your extension's ID
// const extensionPage: string = 'tab.html'; // Replace with the specific page
const userDataDir = '../../wallet-automation/typhon/usrdatadir'; // Path to the user data directory
// const extensionId: string = 'kfdniefadaanbjodldohaedphafoffoh'; // replace with extension's ID
// const extensionPage: string = 'tab.html'; // replace with the specific page
const userDataDir = '../../wallet-automation/typhon/usrdatadir'; // path to the user data directory

// Launch Chromium with the extension
const browser = await chromium.launchPersistentContext(userDataDir, {
headless: false, // Extensions only work in headful mode =)
headless: false, // extensions only work in headful mode =)
args: [
`--disable-extensions-except=${extensionPath}`,
`--load-extension=${extensionPath}`,
Expand Down

0 comments on commit ff4281b

Please sign in to comment.