Skip to content

Commit 641472a

Browse files
rebase main (#77)
1 parent 80c7a76 commit 641472a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "appium-wait-plugin",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"description": "An appium 2.0 plugin that waits for element to be found",
55
"main": "./lib/index.js",
66
"scripts": {

src/element.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function _getAutomationName(driver) {
108108
function sessionInfo(driver) {
109109
if (driver.caps.automationName === 'Fake') return;
110110
const automationName = _getAutomationName(driver);
111-
if (automationName === 'XCUITest') {
111+
if (automationName === 'XCuiTest') {
112112
return {
113113
baseUrl: `${driver.wda.webDriverAgentUrl}`,
114114
jwProxySession: driver.wda.jwproxy.sessionId,
@@ -124,7 +124,7 @@ function sessionInfo(driver) {
124124
async function elementState(sessionInfo, strategy, selector, driver) {
125125
let automationName = _getAutomationName(driver);
126126
let postBody;
127-
if (automationName === 'XCUITest') {
127+
if (automationName === 'XCuiTest') {
128128
postBody = JSON.stringify({
129129
using: strategy,
130130
value: selector,

0 commit comments

Comments
 (0)