TikTok Click Upload Button
Klik tombol upload di halaman TikTok. Otomatis cari selector utama dengan fallback.
Runtime Environment
- Runtime:
browser_script - Platform: tiktok.com
- Last Verified: 2026-04
Pre-Conditions
- Must be logged in to TikTok
- Must be on tiktok.com
CSS Selectors
{
"upload_btn_primary": "[data-e2e=\"upload-btn\"]",
"upload_btn_fallback": "a[href*=\"/upload\"]",
"upload_btn_alt": ".upload-btn-anchor"
}
⚡ Executable Code
// TikTok Click Upload Button - Atomic Tool
// Runtime: browser_script (execute via execute_browser_script)
const selectors = [
'[data-e2e="upload-btn"]',
'a[href*="/upload"]',
'.upload-btn-anchor',
'button[aria-label*="Upload"]'
];
let btn = null;
for (const sel of selectors) {
btn = document.querySelector(sel);
if (btn) break;
}
if (!btn) {
throw new Error('Upload button not found. Selectors tried: ' + selectors.join(', '));
}
btn.click();
console.log('[Tool] Upload button clicked successfully');
Expected Result
- Upload page or modal should appear
Success Indicators
document.querySelector('input[type="file"]') !== nullwindow.location.href.includes('/upload')
Statistics
1Times Used
0%Success Rate
v2Version
Version History
| Version | Date | Changes |
|---|---|---|
| v2 | 2026-04-01 | Updated to code-first atomic format with selector fallbacks |