Skip to content

Error - locator.stringify is not a function #1547

Closed
@karthikamirapu

Description

@karthikamirapu

I am unable to use the command I.swipeDown function for my appium test.

TypeError: locator.stringify is not a function

  at Appium.parseLocator (/usr/local/lib/node_modules/codeceptjs/lib/helper/Appium.js:1356:18)
  at Appium.swipe (/usr/local/lib/node_modules/codeceptjs/lib/helper/Appium.js:838:51)
  at Appium.swipeDown (/usr/local/lib/node_modules/codeceptjs/lib/helper/Appium.js:867:17)
  at Step.run (/usr/local/lib/node_modules/codeceptjs/lib/step.js:40:47)
  at recorder.add (/usr/local/lib/node_modules/codeceptjs/lib/actor.js:70:23)
  at process._tickCallback (internal/process/next_tick.js:68:7)

Provide test source code if related

I.amOnPage('https://investor.homeunion.com/#portfolio');
I.waitForElement('#portfolio-results > portfolio-info-app > div > div.portfolio2 > div.cover-content.title-on-desk.title-parent > div.pull-right.portfolioWishlist.text-center.m-t-10.portfolio-top-btns > div.add-to-port-parent > button', 5);//Showimg similiar properties to banner
I.see('Your Recommended Portfolio');
I.see('Adjust Filters');
I.swipeDown('portfolio-results');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions