File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- const assert = require ( 'assert' )
1+ import assert from 'assert'
22
33/**
44 * Unified WebElement class that wraps native element instances from different helpers
@@ -324,4 +324,4 @@ class WebElement {
324324 }
325325}
326326
327- module . exports = WebElement
327+ export default WebElement
Original file line number Diff line number Diff line change 1- const event = require ( '../event' )
2- const recorder = require ( '../recorder' )
3- const store = require ( '../store' )
4- const output = require ( '../output' )
5- const { RETRY_PRIORITIES } = require ( '../retryCoordinator' )
1+ import event from '../event.js'
2+ import recorder from '../recorder.js'
3+ import store from '../store.js'
4+ import output from '../output.js'
5+ import { RETRY_PRIORITIES } from '../retryCoordinator.js'
66
77const defaultConfig = {
88 retries : 3 ,
@@ -17,7 +17,7 @@ const defaultConfig = {
1717 * This plugin provides step-level retries and coordinates with global retry settings
1818 * to avoid conflicts and provide predictable behavior.
1919 */
20- module . exports = config => {
20+ export default config => {
2121 config = Object . assign ( { } , defaultConfig , config )
2222 config . ignoredSteps = config . ignoredSteps . concat ( config . defaultIgnoredSteps )
2323 const customWhen = config . when
You can’t perform that action at this time.
0 commit comments