selenium forum miner
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
s = Service('C:\chrome driver\chromedriver.exe')
driver = webdriver.Chrome(service=s)...
.send_keys('') and .click() methodes on an element example
in this code the bot logs in then makes a post
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
s = Service('C:\chrome driver\chromedriver.exe')
driver =...
Selenium : automating the browser
https://chromedriver.chromium.org/downloads
see which version you need :
chrome browser, help, about
put the drive inside some folder and copy the location link of the file you extracted
in pycharm :
from selenium import webdriver
chrome_driver_path: str =...
translate from java to python
package LG_Core;
public class Permission {
/*
* uses two names as lv1,2 permission levels
* requires password to change password or said names
*/
private static Permission singleton;
private String password, lv1Name, lv2Name;
private...
Personality
//the chobit class uses the personality class to load up all the skills
package LG_Core;
import java.util.ArrayList;
import java.util.Hashtable;
public class Personality {
/*this class is used in the ChobitV2 c'tor.
it enables loading a complete skill set (a sub class of the...
Fusion FusionCera and PriorityQueue
''' PRIORITYQUEUE CLASS '''
# A simple implementation of Priority Queue
# using Queue.
class PriorityQueue(object):
def __init__(self):
self.queue = []
def __str__(self):
return ' '.join([str(i) for i in self.queue])
# for...