Skip to main content

Posts

Showing posts from October, 2019

Facebook login using python Script[Selenium]

Facebook login using python [Script] What Is Selenium WebDriver?Selenium WebDriver is an API that allows us to write automated tests for web applications. The automated tests that use Selenium WebDriver are run by using a web browser. In other words, Selenium WebDriver helps us to verify that our application is working as expected when it is used by a real user.The key features of Selenium WebDriver are:It supports many common programming languages such as C#, Java, JavaScript, Python, and so on.It supports all common web browsers.It supports headless browsers such as HtmlUnit and PhantomJS.Get pass Function  :  getpass function is used for take password without displaying the window .#facebook login python script. from selenium import webdriver # selenium tool for web activtie
from getpass import getpass #To take password without displaying. user = input('Enter your username or email id: ') pwd = getpass('Enter your password : ') driver = webdriver.Chrome() …

Java program to Convert Integer Number to Roman Number.{By Hottest Way).💣👌 Please Check out .

class Main { public static void main(String[] args) { int num; System.out.println("please the number below 5000"); Scanner obj = new Scanner(System.in); num = obj.nextInt(); String str = String.valueOf(num); char []arr = str.toCharArray(); int len = str.length(); int count[] = new int[10]; for(int i=0;i<len;i++){ count[i] = (int)arr[i]-48;    } String ones[] = new String[]{"","I","II","III","IV","V","VI","VII","VIII", "IX","X"}; String tens[] = new String[]{"","X","XX","XXX","XL","L","LX","LXX","LXXX", "XC","C"}; String hundred[] = new String[]{"","C","CC","CCC","CD","D","DC","DCC", "DCCC","CM","M"};
String thousand[] = new String[]{"","…