racl101 + chrome   102

css - Programmatically creating PDF from webpage - Stack Overflow
I wrote a Stackoverflow response to the problem of creating PDFs programmatically. After trying out Browsershot, Puppeteer and Chrome / Chromium headless browser solution on Laravel and seeing it work. This came after being frustrated with trying to install / run wkhtmltopdf on Ubuntu 18.04.
stackoverflow  howto  example  guider  reference  suggestion  render  pdf  programmatically  server  side  php  php7  browsershot  laravel  laravel5  ubuntu  ubuntu18.04  puppeteer  chrome  chromium  headless  browser  totry  tolearn  tounderstand 
november 2018 by racl101
GoogleChrome/puppeteer: Headless Chrome Node API
Tested it locally on my MacOS machine and it worked really well.
github  project  tool  library  nodejs  node  npm  chrome  chromium  headless  browser  api  render  pdf  image  screenshots  guide  reference 
november 2018 by racl101
spatie/browsershot: Convert html to an image, pdf or string
A PHP (Composer) library to leverage the NPM / NodeJS Puppeteer package which uses the Chrome / Chromium headless browser to render pdf files as well as image screenshots.

It requires at least PHP 7.1 or higher.
github  library  project  browsershot  php  php7  php7.1  nodejs  npm  puppeteer  chrome  chromium  headless  browser  tool  guide  reference 
november 2018 by racl101
★ Easily convert webpages to images using PHP - Freek Van der Herten's blog on PHP and Laravel
Really good tutorial explaining how to use a PHP (Composer) library named Browsershot which leverages the NPM Puppeteer package and Chrome / Chromium headless browser to render PDF images and screenshots (all server side). No more having to use hard to install wkhtmltopdf
blog  tutorial  howto  example  use  browsershot  pdf  puppeteer  chrome  chromium  headless  browser  render  screenshot  images  guide  reference  toread  tolearn  totry  tounderstand 
november 2018 by racl101
verumconsilium/laravel-browsershot: Browsershot wrapper for Laravel 5
This looks like a decent library to utilize Browsershot and Puppeteer NodeJS library via PHP to leverage Chrome / Chromium headless browser to achieve tasks such as PDF rending and Screenshot generation all on Laravel.

Installing it worked on Laravel 5.5 but it required me to use php 7.1 or higher.
github  project  library  tool  package  composer  php  browsershot  puppeteer  nodejs  chrome  chromium  headless  browser  pdf  rending  screenshot  laravel  laravel5  php7.1 
november 2018 by racl101
Failed to download Chromium r515411 · Issue #1597 · GoogleChrome/puppeteer
In short: when installing Puppeteer and you get an error about downloading chromium, you might get an error. It could be an intermittent connection so try a few more times to see if works.
github  forum  puppeteer  google  chrome  chromium  headless  browser  issue  howto  troubleshoot  fix  example  guide  reference 
november 2018 by racl101
Installing headless chrome on Ubuntu.
Shows how one might add the Chromium Browser (headless) apt repository to Ubuntu.
github  gist  script  shell  bash  howto  example  add  chromium  chrome  headless  browser  ppa  apt  repository  linux  ubuntu  ubuntu16.04  ubuntu18.04  guide  reference 
november 2018 by racl101
How to get HTTPS working on your local development environment in 5 minutes
This still works as of October 2018. Followed a Homstead Vagrant Bash shell script implementation of this found in a file called: /scripts/create-certificate.sh

The thing that makes all the difference is creating the root certificate and then creating the specific site certificate from the root script.
blog  tutorial  freecodecamp  howto  create  ssl  certificate  self  signed  site  root  google  chrome  https  development  environment  example  guide  reference  security 
october 2018 by racl101
javascript - A Parser-blocking, cross-origin script is invoked via document.write - how to circumvent it? - Stack Overflow
How to deal with the: "A Parser-blocking, cross-origin script, http://example.org/script.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity." from Google Chrome browser.
stackoverflow  howto  troubleshoot  google  chrome  error  parser  blocking  cross  origin  script  javascript  example  guide  reference  async 
june 2018 by racl101
Getting started - ChromeDriver - WebDriver for Chrome
Use this with Selenium to be able to script Selenium tests with Python.
google  chrome  driver  webdriver  gettingstarted  guide  reference  documentation  python 
march 2018 by racl101
Start a separate Chrome app on OSX with flags from Terminal | TECH.SAIGONIST.COM
Add --make-chrome-default if you want to bypass the first pop that asks if you want to make Chrome the default browser.
blog  tutorial  howto  launch  google  chrome  separate  new  instance  spawn  development  testing  example  guide  reference  macos  macosx  commandline  cli  terminal  switches  flags  options 
january 2018 by racl101
List of Chromium Command Line Switches « Peter Beverloo
Of importance are these:

--user-data-dir and --make-chrome-default when trying to launch a separate instance of Google Chrome for development or testing.
blog  chrome  app  commandline  cli  switches  options  google  browser  separate  spawn  instance  development  testing  howto  guide  reference 
january 2018 by racl101
Remote Debugging on Android with Chrome - Google Chrome
Use this technique to debug websites running on Chrome or WebViews within native apps within a mobile device (like an Android phone) whether it's an actual physical device or a device running on the Android emulator
ReferencE  mobile  Google  emulator  avd  Documentation  chrome  Android  Remote  debugging  Guide 
may 2015 by racl101
Remote Debugging on Android with Chrome - Google Chrome
Use this technique to debug websites running on Chrome or WebViews within native apps within a mobile device (like an Android phone) whether it's an actual physical device or a device running on the Android emulator
Google  chrome  Remote  debugging  Guide  ReferencE  Documentation  emulator  mobile  Android  avd 
may 2015 by racl101
Codeigniter flash data not working in certain browsers - Stack Overflow
Didn't really work for me on Codeigniter 2.1.4 installation which powers IPS website but it's good to know about this issue for future installs.
messages  fix  Stackoverflow  flashdata  chrome  Bug  codeigniter  flash  Howto 
march 2015 by racl101
coderwall.com : establishing geek cred since 1305712800
This is very important for Laravel installations being hosted on Rackspace Cloud sites and getting net::ERR_INCOMPLETE_CHUNKED_ENCODING errors in Google Chrome browser.
Xcache  chrome  500  Rackspace  HTTP  caching  error  example  cloudsites  Google  rackspacecloud  Laravel  Blog 
november 2014 by racl101
« earlier      
per page:    204080120160

related tags

1password  active  add  addon  agile  alternative  Analytics  Android  Angularjs  api  app  apple  apple.stackexchange  application  apt  async  autofill  automation  avd  aws  bash  be  blackfire  blocking  blog  bookmarklet  bookmarklets  brew  browser  browsers  browsershot  Bug  cache  caching  camera  can't  case  casestudy  certificate  cheatsheet  chrome  chromedriver  chromeos  chromium  chunked  chunking  clear  cli  client  clockwork  cloudsites  code  codeigniter  commandline  companion  composer  connection  console  content  continuity  cookie  cookies  cool  coordinates  copy  coverage  Cpu  create  cross  css  css3  DATE  datetime  debug  debugging  decimal  design  designer  dev  developer  developer-tools  development  diggo  disable  documentation  domain  download  driver  emulation  emulator  encoding  environment  error  err_cache_miss  example  examples  experiment  explanation  extension  extensions  fakepath  feature  field  file  filename  filepath  firebug  firefox  fix  flags  flash  flashdata  float  focus  force  form  forum  frame  free  freecodecamp  frontend  function  generator  gesture  get  gettingstarted  gist  github  google  google-chrome  gradient  guide  guider  hack  handoff  header  headers  headless  help  helper  homebrew  hover  howto  hsts  html  html5  http  https  ichromy  ie  image  images  implementation  incomplete  indicators  inline  input  inspector  install  instance  instructions  interesting  invalid  ios  ipad  iphone  issue  javascript  joomla  keyboard  keychain  lambda  laradock  laravel  laravel4  laravel4.2  laravel5  launch  lego  library  linux  localhost  mac  macos  macosx  management  managemente  manual  media  medium  memory  messages  metro  microphone  microsoft  mime  missing  mobile  mode  module  mouse  mozilla  name  navigate  new  nginx  node  nodejs  npm  number  object  on  onetab  openssl  option  options  origin  os  osx  package  parser  path  pdf  performance  php  php7  php7.1  phpconsole  plugin  policy  postman  ppa  preview  print  privacy  process  profiling  programmatically  programming  project  property  puppeteer  python  Rackspace  rackspacecloud  Rails  Rails5  Ram  reached  react  reactjs  redirect  reference  release  Remote  remove  render  rendering  rending  repository  requests  REST  root  rubyonrails  safari  screenshot  screenshots  script  secure  security  self  separate  server  settings  setup  shell  shortcuts  side  signed  site  slashdot  smashing  socialnetworking  software  spawn  ssl  stackexchange  stackoverflow  stackoverlow  state  String  study  style  subject  suggestion  superuser  superuser.com  support  switches  tab  technology  template  templates  terminal  testing  text  tiles  tips  tld  tolearn  tool  tools  toread  totry  tounderstand  touse  tricks  troubleshoot  troubleshooting  trust  tutorial  Type  ubuntu  ubuntu16.04  ubuntu18.04  uinstall  underscore-min.map  underscorejs  upload  usage  use  useful  v3  validation  version3  view  viewport  virtual  vmware  wasp  web  webdev  webdriver  webian  webkit  wiki  windows  Xcache 

Copy this bookmark: