Skip to content

Commit

Permalink
Akamai
Browse files Browse the repository at this point in the history
  • Loading branch information
MiddleSchoolStudent committed Dec 20, 2024
1 parent 74aa788 commit 5863c74
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ To simplify operations, we provide [BotBrowserConsole](https://github.com/Middle

- **Leading Antibot Services:**
- **[Cloudflare](tests/tests/antibots/cloudflare.spec.ts)** - [▶️ Test Result (Turnstile)](https://middleschoolstudent.github.io/BotBrowser/video_player/index.html?video=https://raw.githubusercontent.com/MiddleSchoolStudent/BotBrowser/main/tests/test-results/cloudflare-test-Cloudflare-turnstile-BotBrowser-antibots/video.webm), [▶️ Test Result (Challenge)](https://middleschoolstudent.github.io/BotBrowser/video_player/index.html?video=https://raw.githubusercontent.com/MiddleSchoolStudent/BotBrowser/main/tests/test-results/cloudflare-test-Cloudflare-challenge-BotBrowser-antibots/video.webm)
- **[Kasada](tests/tests/antibots/kasada.spec.ts)** - [▶️ Test Result (kick.com)](https://middleschoolstudent.github.io/BotBrowser/video_player/index.html?video=https://raw.githubusercontent.com/MiddleSchoolStudent/BotBrowser/main/tests/test-results/kasada-test-Kasada-BotBrowser-antibots/video.webm)
- **[Akamai Bot Manager](tests/tests/antibots/akamai.spec.ts)** - [▶️ Test Result (playstation.com)](https://middleschoolstudent.github.io/BotBrowser/video_player/index.html?video=https://raw.githubusercontent.com/MiddleSchoolStudent/BotBrowser/main/tests/test-results/akamai-test-playstation-com-BotBrowser-antibots/video.webm)
- **[Kasada](tests/tests/antibots/kasada.spec.ts)** - [▶️ Test Result (kick.com)](https://middleschoolstudent.github.io/BotBrowser/video_player/index.html?video=https://raw.githubusercontent.com/MiddleSchoolStudent/BotBrowser/main/tests/test-results/kasada-test-Kasada-BotBrowser-antibots/video.webm), [▶️ Test Result (playstation.com)](https://middleschoolstudent.github.io/BotBrowser/video_player/index.html?video=https://raw.githubusercontent.com/MiddleSchoolStudent/BotBrowser/main/tests/test-results/akamai-test-playstation-com-BotBrowser-antibots/video.webm)
- **[reCAPTCHA](tests/tests/antibots/recaptcha.spec.ts)** - [▶️ Test Result](https://middleschoolstudent.github.io/BotBrowser/video_player/index.html?video=https://raw.githubusercontent.com/MiddleSchoolStudent/BotBrowser/main/tests/test-results/recaptcha-test-reCAPTCHA-v3-on-antcpt-BotBrowser-antibots/video.webm)
- Cloudfront Bot Management (AWS)
- PerimeterX
- hCaptcha
- nuCAPTCHA
- Akamai Bot Manager
- DataDome
- Imperva (Incapsula)
- F5 Shape Security
Expand Down
Binary file not shown.
1 change: 1 addition & 0 deletions tests/tests/antibots/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
perimeterx.spec.ts
37 changes: 37 additions & 0 deletions tests/tests/antibots/akamai.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import { expect, test } from '../global-setup';

test('test playstation.com', async ({ page }) => {
await page.goto('https://www.playstation.com/en-us/');
await page.locator('button >> text=Sign In').click();

await page.locator('input#signin-entrance-input-signinId').focus();
await page
.locator('input#signin-entrance-input-signinId')
.pressSequentially(
Math.random().toString(36).substring(2) +
Math.random().toString(36).substring(2) +
'@gmail.com',
{ delay: 100 },
);

await page.keyboard.press('Enter');

await page.locator('input#signin-password-input-password').focus();
await page
.locator('input#signin-password-input-password')
.pressSequentially(
Math.random().toString(36).substring(2) +
Math.random().toString(36).substring(5) +
'AC?_',
{ delay: 150 },
);

const responseWaiter = page.waitForResponse(
(resp) =>
resp.url() === 'https://ca.account.sony.com/api/v1/ssocookie' &&
resp.status() === 400,
);
await page.keyboard.press('Enter');

expect(await responseWaiter).toBeTruthy();
});

0 comments on commit 5863c74

Please sign in to comment.