Activity
Mon
Wed
Fri
Sun
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
What is this?
Less
More

Memberships

Wifi Life

Public • 193 • Free

The Muslim Content Creator

Private • 2.2k • Free

18 contributions to Wifi Life
Hi, Roopesh here!
Nice to meet you all, Roopesh here! I'm 19 and excited to be part of this community. I'm currently running my own web design agency with the goal of unlocking location and time freedom. At the same time, I'm working on improving myself in various areas, so I'm looking forward to learning more and growing together!
1
2
New comment 21d ago
1 like • 22d
Welcome! This is definitely the place to be. Let me know if you have any questions.
What's everyone working on?
What are some projects you guys are currently working on right now?
1
0
I got an error
Hi, I'm working on "Agency Bot for Iphone 16 Pro Max" project where the agency bot is sold for $2000. I wrote the code for selecting the necessary elements, but I'm getting error ` Waiting for selector `[data-autom='add-to-cart']` failed: Waiting failed: 30000ms exceeded. Here is the code ` const puppeteer = require('puppeteer-extra'); const { executablePath } = require('puppeteer'); const StealthPlugin = require('puppeteer-extra-plugin-stealth'); puppeteer.use(StealthPlugin()); const locateChrome = require('chrome-location'); let url_16 = "https://www.apple.com/shop/buy-iphone/iphone-16-pro" async function givePage() { const browser = await puppeteer.launch({headless: false, executablePath: locateChrome}) let page = await browser.newPage(); return page } async function run() { let page = await givePage() await page.goto(url_16) await add_to_cart(page) await shipping(page) } async function add_to_cart(page) { smart_click_with_pause(page, "input[data-autom='dimensionScreensize6_3inch']", 0) smart_click_with_pause(page, "input[value='deserttitanium']", 0) smart_click_with_pause(page, "input[data-autom='dimensionCapacity256gb']", 0) smart_click_with_pause(page, "[id='noTradeIn_label']", 0) smart_click_with_pause(page, "[data-autom='purchaseGroupOptionfullprice_price']", 0) smart_click_with_pause(page, ".form-selector-title.rf-bfe-dimension-simfree", 0) smart_click_with_pause(page, "[id='applecareplus_59_noapplecare_label']", 0) smart_click_with_pause(page, "[data-autom='add-to-cart']", 0) } async function smart_click_with_pause(page, selector, pause) { await page.waitForSelector(selector) await page.evaluate((s) => document.querySelector(s).click(), selector) await new Promise(r => setTimeout(r, pause)) } run()
2
2
New comment Oct 15
I got an error
0 likes • Oct 15
Try messing with the delays and rerunning, some times the page may not load fully.
Instagram DM Bot?
Who has creates an instagram automation bot?
1
3
New comment Oct 14
1 like • Oct 14
Hey! lesson one is in course resources.
Complex problems can have simple solutions
In my new resource I shared how I found an incredibly simple solution to a complex problem by using one small method in puppeteer in an unconventional manner... Check it out!!!👇 Web Automations 101 -> Change Window Size With page.setViewport() Method
3
2
New comment Oct 9
1 like • Oct 9
Great post bro!
1-10 of 18
Salim A
2
7points to level up
@salim-a-2202
Passionate about AI software development and automation

Active 7d ago
Joined Sep 18, 2024
powered by