Skip to content

Instantly share code, notes, and snippets.

View zac11's full-sized avatar
❤️
Love AWS and Azure

Rahul Yadav zac11

❤️
Love AWS and Azure
View GitHub Profile
@zac11
zac11 / logcat-dump.txt
Created February 21, 2024 09:22
Android-Logcat-Dump
This file has been truncated, but you can view the full file.
--------- beginning of kernel
02-20 12:23:29.450 0 0 I : Booting Linux on physical CPU 0x0000000000 [0x610f0000]
02-20 12:23:29.450 0 0 I : Linux version 5.4.86-android11-2-00006-gae78026f427c-ab7595864 (build-user@build-host) (Android (7284624, based on r416183b) clang version 12.0.5 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee), LLD 12.0.5 (/buildbot/src/android/llvm-toolchain/out/llvm-project/lld c935d99d7cf2016289302412d708641d52d2f7ee)) #1 SMP PREEMPT Thu Jul 29 20:54:47 UTC 2021
02-20 12:23:29.450 0 0 I Machine model: linux,ranchu
02-20 12:23:29.450 0 0 I printk : debug: skip boot console de-registration.
02-20 12:23:29.450 0 0 I efi : Getting EFI parameters from FDT:
02-20 12:23:29.450 0 0 I efi : UEFI not found.
02-20 12:23:29.450 0 0 I cma : Reserved 296 MiB at 0x00000000ad800000
02-20 12:23:29.450 0 0 D : On node 0 totalpages: 524288
02-20 12:23:29
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.chrome.service import Service
options = Options()
options.add_argument('--start-fullscreen')
svc=Service(ChromeDriverManager().install())
driver = webdriver.Chrome(service=svc,options=options)
import time
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.chrome.service import Service
svc=Service(ChromeDriverManager().install())
driver = webdriver.Chrome(service=svc)
max_width, max_height = driver.execute_script("return [window.screen.availWidth, window.screen.availHeight];")
print(max_width,max_height)
time.sleep(3)
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.chrome.service import Service
options = Options()
options.add_argument('--kiosk')
svc=Service(ChromeDriverManager().install())
driver = webdriver.Chrome(service=svc,options=options)
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.support.wait import WebDriverWait
options = Options()
svc=Service(ChromeDriverManager().install())
driver = webdriver.Chrome(service=svc,options=options)
driver.set_window_size(1400,900)
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.support.wait import WebDriverWait
options = Options()
options.add_argument('--start-maximized')
svc=Service(ChromeDriverManager().install())
driver = webdriver.Chrome(service=svc,options=options)
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.chrome.service import Service
svc=Service(ChromeDriverManager().install())
driver = webdriver.Chrome(service=svc)
driver.maximize_window()
driver.get("https://selectorshub.com/xpath-practice-page/")
driver.implicitly_wait(20)
driver.quit()
import { chromium, expect, test } from "@playwright/test";
test.use({ viewport: { width: 1400, height: 1000 } });
test("Launch the Selectors hub test page", async () => {
const browser = await chromium.launch({
headless: false,
});
const context = await browser.newContext();
const page = await context.newPage();
import { chromium, expect, test } from "@playwright/test";
test.use({ viewport: { width: 1400, height: 1000 } });
test("Launch the Selectors hub test page", async () => {
const browser = await chromium.launch({
headless: false,
});
const context = await browser.newContext();
const page = await context.newPage();
import { chromium, expect, test } from "@playwright/test";
test.use({ viewport: { width: 1400, height: 1000 } });
test("Launch the Selectors hub test page", async () => {
const browser = await chromium.launch({
headless: false,
});
const context = await browser.newContext();
const page = await context.newPage();