Skip to content

Commit

Permalink
recorder: move api into connect phase call
Browse files Browse the repository at this point in the history
  • Loading branch information
toddtarsi committed Oct 18, 2023
1 parent 4361fe9 commit e8034cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/selenium-ide/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/selenium-ide",
"version": "4.0.0-alpha.50",
"version": "4.0.0-alpha.51",
"private": true,
"description": "Selenium IDE electron app",
"author": "Todd <[email protected]>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ type LocatorFunction = (e: HTMLElement, ctx?: any) => string | null
export default class LocatorBuilders {
constructor(window: Window) {
this.window = window
this.setLocatorsOrderFromState()
}

listenForChanges() {
this.setLocatorsOrderFromState()
this.window.sideAPI.recorder.onLocatorOrderChanged.addListener(
LocatorBuilders.setPreferredOrder
)
Expand Down

0 comments on commit e8034cb

Please sign in to comment.