Update app.py
Browse files
app.py
CHANGED
@@ -28,14 +28,14 @@ def run_script(html: str, style: str,font_col,back_col):
|
|
28 |
options.add_argument('--disable-dev-shm-usage')
|
29 |
|
30 |
try:
|
31 |
-
|
32 |
-
url =
|
33 |
driver = webdriver.Chrome(options=options)
|
34 |
driver.get(url)
|
35 |
#html=driver.page_source
|
36 |
driver.implicitly_wait(30)
|
37 |
driver.set_window_size(1920, 4096)
|
38 |
-
obj = driver.find_element(By.
|
39 |
#obj = driver.find_element_by_id("in_html")
|
40 |
######################
|
41 |
#inp = driver.find_element("id","input")
|
|
|
28 |
options.add_argument('--disable-dev-shm-usage')
|
29 |
|
30 |
try:
|
31 |
+
|
32 |
+
url = "https://gab.ai/c/65af72173a6a44d9799e202e"
|
33 |
driver = webdriver.Chrome(options=options)
|
34 |
driver.get(url)
|
35 |
#html=driver.page_source
|
36 |
driver.implicitly_wait(30)
|
37 |
driver.set_window_size(1920, 4096)
|
38 |
+
obj = driver.find_element(By.ID, "app_container")
|
39 |
#obj = driver.find_element_by_id("in_html")
|
40 |
######################
|
41 |
#inp = driver.find_element("id","input")
|