Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Selenium Page Object Model with Python
Post: RE: Selenium Page Object Model with Python

It works at first but I think the inheritance gets all messed up because there is a BasePage class within MainPage and LoginPage after reusing a function which is in BasePage I get this error. Strange...
Cryptus Web Scraping & Web Development 5 3,991 Aug-18-2020, 11:06 PM
    Thread: wkhtmltoimage generated jpeg save to Database using mongoengine
Post: RE: wkhtmltoimage generated jpeg save to Database ...

make sure to install https://wkhtmltopdf.org/downloads.html and check if the path_imgkit is working import imgkit path_imgkit = r'C:\Program Files\wkhtmltopdf\bin\wkhtmltoimage.exe' config = imgkit...
Cryptus Web Scraping & Web Development 2 3,092 Aug-18-2020, 03:28 PM
    Thread: Why is the while loop not working?
Post: RE: Why is the while loop not working?

(Aug-18-2020, 01:49 PM)mcoliver88 Wrote: (Aug-18-2020, 01:46 PM)Cryptus Wrote: because after you give homework = yes and dinner = no the while function isnt true anymore and it jumps to your else ...
Cryptus General Coding Help 5 3,127 Aug-18-2020, 02:03 PM
    Thread: Why is the while loop not working?
Post: RE: Why is the while loop not working?

because after you give homework = yes and dinner = no the while function isnt true anymore and it jumps to your else function I would do something like this homework = 'n' dinner = 'n' flag = False w...
Cryptus General Coding Help 5 3,127 Aug-18-2020, 01:46 PM
    Thread: Selenium Page Object Model with Python
Post: RE: Selenium Page Object Model with Python

test_sign_in_page.py from tests.base_test import BaseTest from pages.main_page import MainPage class TestSignInPage(BaseTest): def test_sign_in_with_in_valid_user(self): main_page = Ma...
Cryptus Web Scraping & Web Development 5 3,991 Aug-18-2020, 07:57 AM
    Thread: Selenium Page Object Model with Python
Post: Selenium Page Object Model with Python

I am currently working with selenium and some boilerplatte code from github: https://github.com/gunesmes/page-object-python-selenium After changing the code to work with a diffrent site I need to make...
Cryptus Web Scraping & Web Development 5 3,991 Aug-17-2020, 09:54 PM
    Thread: file directory
Post: RE: file directory

you seem to be missing some files from the github project: image be sure to install both requirements pip install -r requirements.txt pip install -r requirements_dev.txt and then try to test it with...
Cryptus General Coding Help 3 2,516 Nov-06-2019, 10:50 PM
    Thread: hangman doesn't end after guessing the word
Post: RE: hangman doesn't end after guessing the word

Which part of the code doesnt work? It seems to run normal for me.
Cryptus Game Development 3 1,850 Nov-06-2019, 09:45 PM
    Thread: Turkish Character Prohibition
Post: RE: Turkish Character Prohibition

import re password = input("Please type in your password : ") tr_characters = re.search("ö|ç|ş|ü|ğ|ı|Ö|Ç|Ş|Ü|Ğ|İ", password) for control in password: if tr_characters: print("You can't ...
Cryptus General Coding Help 3 2,586 Nov-06-2019, 09:29 PM
    Thread: Pycharm Interpreter
Post: Pycharm Interpreter

Hello, I am using Pycharm as my main IDE for Python projects and I like to switch between OS (Windows & Linux) where I have my Pycharms installed. Since my Project is located on my Dropbox accoun...
Cryptus Bar 1 1,692 Nov-06-2019, 10:36 AM
    Thread: New Users Introduce Yourself
Post: RE: New Users Introduce Yourself

Hi Guys! My name is Victor. Im 25 years old and come from West Germany. I have studied Computer Science for 3 years without learning programming. Since I work at my Job we didnt really use any speci...
Cryptus Bar 431 229,736 Nov-06-2019, 10:28 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020