This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver # import packages | |
driver_path = "C:/Users/johndoe/chromedriver.exe" # Defines the chrome driver path | |
driver = webdriver.Chrome(driver_path) # Define the driver | |
driver.get("https://www.google.com/") # Open url | |
driver.save_screenshot("screenshot.png") # Save Screenshot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
driver.save_screenshot("screenshot.png") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver # import packages | |
driver_path = "C:/Users/johndoe/chromedriver.exe" # Defines the chrome driver path | |
driver = webdriver.Chrome(driver_path) # Define the driver | |
driver.get("https://www.google.com/") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- HTML --> | |
<html> | |
<body> | |
<div> | |
<input type="file" id="imageInput" accept = "image/*"> | |
<canvas id= "myCanvas" width="1000" height="700"></canvas> | |
</div> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
reader.onloadend = function (e) { | |
var myImage = new Image(); // Creates image object | |
myImage.src = e.target.result; // Assigns converted image to image object | |
myImage.onload = function(ev) { | |
var myCanvas = document.getElementById("myCanvas"); // Creates a canvas object | |
var myContext = myCanvas.getContext("2d"); // Creates a contect object | |
myCanvas.width = myImage.width; // Assigns image's width to canvas | |
myCanvas.height = myImage.height; // Assigns image's height to canvas | |
myContext.drawImage(myImage,0,0); // Draws the image on canvas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- General --> | |
<meta charset="utf-8" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Demo | Responsive Landing Page UI Design for Fashion Store</title> | |
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | |
<!-- Loading Necessary Fonts --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- General --> | |
<meta charset="utf-8" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Demo | Responsive Landing Page UI Design for Interior Design Firm</title> | |
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | |
<!-- Loading Necessary Fonts --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- General --> | |
<meta charset="utf-8" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Responsive Website UI Design for a aqua fish page</title> | |
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | |
<!-- Loading Necessary Fonts --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- General --> | |
<meta charset="utf-8" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Responsive Landing Page UI Design for a Nutrition Page</title> | |
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | |
<!-- Loading Necessary Fonts --> |
NewerOlder