Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
fix: issue-358 fix getSettingSwitch for latest metamask extension
Browse files Browse the repository at this point in the history
  • Loading branch information
jeasonnow committed Apr 3, 2024
1 parent 02caf58 commit c9ecc05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helpers/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export const getSettingsSwitch = (
[
`//span[contains(.,'${text}')]/parent::div/following-sibling::div/div/div/div`,
`//span[contains(.,'${text}')]/parent::div/following-sibling::div/div/label/div`,
`//span[contains(.,'${text}')]/parent::div/following-sibling::div/label/div`,
].join("|"),
{ visible: true }
);
Expand Down

0 comments on commit c9ecc05

Please sign in to comment.