Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrWh1te committed Apr 21, 2021
1 parent 1bb45e3 commit 5cd99fc
Showing 1 changed file with 4 additions and 27 deletions.
31 changes: 4 additions & 27 deletions apps/bot-instagram/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ import {
viewStories,
isSaveYourLoginInfoActive,
clickSaveYourLoginInfoNoButton,
logout,
goToExplore,
goToMessaging,
goToSettings
} from '@botmation/instagram'

(async () => {
Expand Down Expand Up @@ -66,11 +62,10 @@ import {

// lets log in, if we are a guest
givenThat(isGuest) (
login({username: 'lagmahol', password: 'jesu1t2007!'}), // <- put your username and password here
login({username: 'account', password: 'password'}), // <- put your username and password here
files()(
saveCookies('instagram'), // the Bot will skip login, on next run, by loading cookies
saveCookies('instagram'), // the Bot will skip login, on next run, by loading the cookies from this file
),

),

// in case that log in failed, lets check before we operate as a logged in user
Expand All @@ -89,32 +84,14 @@ import {

screenshot('logged-in'),

// viewStories,
log('screenshot taken'),

wait(12000),

goToExplore,

wait(2000),

goToMessaging,

wait(2000),

goToSettings,
viewStories,

log('screenshot taken'),

wait(5000),

// logout,

// log('logout complete'),

wait(15000)
),


log('Done'),
)(page)

Expand Down

0 comments on commit 5cd99fc

Please sign in to comment.