Description
note:
- This script develop with real device because in emulator tiktok always fail login
- I search in internet there a restriction from tiktok for emulator(detected by tiktok)
- When i develop i don't find ads, so the script search ads by text under username with keyword #ad, #ads, #광고, 광고
- As long as i develop i using my username and password, if you want change username and password, you can change in file scenario1.py line 10 and 11
dependencies:
- Install python3
- Install pip3
- Install appium server
- Install appium client
- Install selenium library
How to run
- Connect phone
check device
$ adb devices
- Start appium server
- Uninstall tiktok if version is not 17.6.41
$ adb install tiktok-asia-17-6-41.apk
push install button on phone ( if you do not push install buton within 10seconds, it will be canlced )
- Run Python
$ python scenario1.py
Todo
Stopped first screen of "Swipe up for more".