-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpromo.atrium.by.php
More file actions
31 lines (23 loc) · 1005 Bytes
/
promo.atrium.by.php
File metadata and controls
31 lines (23 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
$xhe_host ="127.0.0.1:7100";
require("C:\XWeb\Human Emulator Free\Templates\xweb_human_emulator.php");
$keys = file("C:\\1.txt");
$file = "C:\\1.html";
for($ii=0;$ii<count($keys);$ii++)
{
$ks = trim($keys[$ii]);
$browser->navigate($ks);
$debug->optimize_memory();
$tr="<p>"."|ññûëêà|".$ks."</p>";
$textfile->add_string_to_file($file,$tr)."<br>";
$t="<p>".$h1->get_inner_text_by_number(0)."|îïèñàíèå|".$div->get_by_attribute("class","js-store-prod-text t-store__prod-popup__text t-descr t-descr_xxs", false)->get_inner_text();
$textfile->add_string_to_file($file,$t);
$spn ="<p>".$h1->get_inner_text_by_number(0)."|öåíà|".$div->get_by_attribute("class","js-store-price-wrapper t-store__prod-popup__price-wrapper", false)->get_inner_text();
$textfile->add_string_to_file($file,$spn);
$div->click_by_number(41);
$t="<p>".$h1->get_inner_text_by_number(0)."|ôîòî|".$image->get_src_by_number(2)."</p>";
$textfile->add_string_to_file($file,$t);
}
$app->shell_execute("",$file);
$app->quit();
?>