Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed May 16, 2024
1 parent 2696e41 commit af1f803
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion __tests__/chromedriver.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Builder, Capabilities, until, By, Key } from 'selenium-webdriver';
import { Builder, Capabilities, until, By, Key, logging } from 'selenium-webdriver';
(async () => {
const logger = logging.getLogger('webdriver');
logger.setLevel(logging.Level.DEBUG);
const timeout = 30000;
const driver = new Builder()
.withCapabilities(Capabilities.chrome())
Expand Down

0 comments on commit af1f803

Please sign in to comment.